/**
 * GO247 MAIN STYLESHEET — v2.0
 * Premium Private Fitness & EMS Studio
 */

/* ══════════════════════════════════════════════
   NAVIGATION — Apple-quality floating glass bar
══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-image: linear-gradient(180deg, rgba(4, 10, 30, .6) 0%, rgba(4, 10, 30, .45) 100%);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  background-image: none;
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.site-header.scrolled .brand-gym-text {
  color: #0f172a;
}

.site-header.scrolled .nav-links a {
  color: #475569;
}

.site-header.scrolled .nav-links a:hover {
  color: #0f172a;
  background: #f1f5f9;
  border-color: transparent;
  box-shadow: none;
}

.site-header.scrolled .nav-links a.active {
  color: var(--blue-600);
  background: #eff6ff;
  border-color: transparent;
  box-shadow: none !important;
}

.site-header.scrolled .nav-links a.active:hover {
  color: var(--blue-700);
  background: #dbeafe;
  border-color: transparent;
  box-shadow: none;
}

.site-header.scrolled .nav-user-btn {
  color: #475569;
}

.site-header.scrolled .nav-user-btn:hover {
  color: #0f172a;
}

.site-header.scrolled .header-credits-pill {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  color: #334155 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.site-header.scrolled .header-credits-pill:hover {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
}

.site-header.scrolled .header-credits-pill .hcp-icon {
  color: #64748b !important;
}

.site-header.scrolled .header-credits-pill .hcp-sep {
  background: #e2e8f0 !important;
}

.site-header.scrolled .header-credits-pill .cred-chip-item {
  color: #475569 !important;
}

.site-header.scrolled .header-credits-pill .cred-chip-item.is-zero {
  opacity: 0.55 !important;
}

.site-header.scrolled .header-credits-pill .cred-chip-item strong.cred-val {
  color: #0f172a !important;
}

.site-header.scrolled .header-credits-pill .cred-chip-item.cred-chip-ems.has-credits strong.cred-val {
  color: #1d4ed8 !important;
}

.site-header.scrolled .header-credits-pill .cred-chip-item.cred-chip-gym.has-credits strong.cred-val {
  color: #15803d !important;
}

.site-header.scrolled .header-credits-pill .cred-chip-item.cred-chip-red.has-credits strong.cred-val {
  color: #e11d48 !important;
}

.site-header.scrolled .nav-mobile-btn {
  color: #0f172a;
  border-color: #cbd5e1;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1400px;
  margin: 0 auto;
  padding-inline: 2rem;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

/* Brand logo — GYM text with elevated blue chip 247 */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0.28rem;
  flex-shrink: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.brand-logo:hover {
  opacity: 0.92;
}

.brand-logo-img {
  height: 45px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease, opacity 0.2s ease;
}

.site-header.scrolled .brand-logo-img,
.site-footer .brand-logo-img,
.nav-drawer-header .brand-logo-img,
.auth-modal-logo {
  filter: brightness(0);
}

sup {
  font-size: 0.62em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.45em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-gym-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.brand-chip-247 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-600);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.45rem 0.2rem;
  border-radius: 6px;
  line-height: 1;
  position: relative;
  top: -0.45em;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.5);
}

.brand-glass-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-glass-logo span {
  color: var(--blue-400);
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.d-none {
  display: none !important;
}

/* Nav links as glass buttons */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: flex;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.42rem 0.85rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  background: transparent;
  position: relative;
  transition: color 0.18s ease, background 0.18s ease;
}

/* Hover button */
.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: transparent;
  box-shadow: none;
}

/* Active button */
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: transparent;
  box-shadow: none !important;
}

.nav-links a.active:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: transparent;
  box-shadow: none;
}

.nav-links a.nav-link-highlight.active {
  background: rgba(244, 63, 94, 0.15);
  border-color: transparent;
  box-shadow: none;
}

.nav-links a.nav-link-highlight:hover {
  background: rgba(244, 63, 94, 0.1);
  border-color: transparent;
  box-shadow: none;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Header Login / Account / Admin Button — matches nav-cta pill radius and subtle border */
.btn-header-login,
.nav-user-btn.nav-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  border-radius: var(--r-full) !important;
  padding: 9px 18px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
  white-space: nowrap;
}

.btn-header-login:hover,
.nav-user-btn.nav-admin-btn:hover {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
  color: #0f172a !important;
  transform: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn-header-login .nav-user-icon,
.nav-user-btn.nav-admin-btn .nav-user-icon {
  color: #475569;
  transition: none;
}

.btn-header-login:hover .nav-user-icon,
.nav-user-btn.nav-admin-btn:hover .nav-user-icon {
  color: #475569 !important;
}

/* Dark Card Ghost Button (InBody / High-contrast CTA) */
.inbody-dark-ghost-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  transition: all var(--dur-fast) ease;
}

.inbody-dark-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

/* Quick Login Modal for Bookings (true full-viewport overlay) */
.quick-login-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999999 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.quick-login-modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.quick-login-modal-dialog {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  max-width: 440px !important;
  width: 100% !important;
  padding: 2.25rem 2rem !important;
  position: relative !important;
  margin: auto !important;
  max-height: calc(100vh - 3rem) !important;
  overflow-y: auto !important;
}

.quick-login-modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
  line-height: 1;
}

.quick-login-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* User profile button in header */
.nav-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--dur-fast) ease, background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.nav-user-btn:hover {
  color: #ffffff;
}

.nav-user-btn.dim {
  color: var(--text-muted);
}

.nav-user-btn.dim:hover {
  color: var(--text-secondary);
}

.nav-user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--blue-400);
  flex-shrink: 0;
}

.nav-user-icon {
  color: currentColor;
  flex-shrink: 0;
}

.nav-user-label {
  display: inline;
}

/* Green 24/7 live badge */
.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ade80;
  padding: 0.38rem 0.85rem;
  border-radius: var(--r-full);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.nav-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 7px #4ade80;
  animation: blink-led 2s infinite;
}

.nav-cta {
  font-size: 12px !important;
  padding: 9px 22px !important;
  letter-spacing: 0.02em !important;
}

.nav-mobile-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: #ffffff;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast) var(--ease-out);
}

.nav-mobile-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-h) + 1.75rem);
  padding-bottom: calc(3.5rem + 54px);
  overflow: hidden;
  text-align: left;
  background-color: #060811;
  color: #ffffff;
  color-scheme: dark;
  --bg-void: #060811;
  --bg-base: #090d1c;
  --bg-surface: #12182b;
  --bg-raised: #182038;
  --glass-dark: rgba(18, 25, 46, 0.92);
  --glass-mid: rgba(24, 34, 60, 0.90);
  --glass-light: rgba(32, 45, 78, 0.85);
  --border-dim: rgba(255, 255, 255, 0.13);
  --border-soft: rgba(255, 255, 255, 0.18);
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #b6c4d9;
  --text-muted: #8696ab;
  --text-blue: #60a5fa;
}

.hero .btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

/* Background photo layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.35) contrast(1.18) saturate(0.85);
}

/* Gradient vignettes on top of photo */
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    /* top fade */
    linear-gradient(to bottom, rgba(4, 5, 10, 0.72) 0%, rgba(4, 5, 10, 0.0) 28%),
    /* bottom fade — strong, text sits here */
    linear-gradient(to top, rgba(4, 5, 10, 0.98) 0%, rgba(4, 5, 10, 0.55) 38%, rgba(4, 5, 10, 0.0) 60%),
    /* left/right side vignette */
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 30%, rgba(4, 5, 10, 0.65) 100%),
    /* subtle blue center glow */
    radial-gradient(ellipse 70% 50% at 50% 38%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue-600) 30%, var(--blue-400) 50%, var(--blue-600) 70%, transparent 100%);
  z-index: 5;
}

/* ══════════════════════════════════════════════
   LIQUID GLASS TICKER STRIP (Apple iOS Style)
══════════════════════════════════════════════ */
.hero-liquid-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 52px;
  z-index: 10;
  display: flex;
  align-items: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;

  /* Apple iOS Liquid Glass Material */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(6, 10, 24, 0.55) 100%),
    rgba(8, 14, 28, 0.58);
  backdrop-filter: blur(28px) saturate(210%) brightness(1.08);
  -webkit-backdrop-filter: blur(28px) saturate(210%) brightness(1.08);

  /* iOS 1px Specular Bevel Border & Ambient Edge Light */
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4),
    0 -8px 24px -6px rgba(0, 0, 0, 0.4),
    0 12px 32px 0 rgba(0, 0, 0, 0.5);
  isolation: isolate;
}

/* Mouse-driven & interactive specular sheen (iOS refraction light) */
.liquid-glass-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 340px at var(--glass-x, 50%) var(--glass-y, 50%),
      rgba(255, 255, 255, 0.28) 0%,
      rgba(96, 165, 250, 0.18) 32%,
      transparent 70%);
  mix-blend-mode: overlay;
  transition: opacity 0.25s ease;
  z-index: 1;
}

/* Continuous liquid light wave flowing through glass */
.liquid-glass-specular-flow {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.04) 25%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(96, 165, 250, 0.16) 75%,
      transparent 100%);
  transform: skewX(-25deg);
  animation: liquidSpecularGlide 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
}

@keyframes liquidSpecularGlide {
  0% {
    transform: translateX(-150%) skewX(-25deg);
    opacity: 0;
  }

  15% {
    opacity: 0.8;
  }

  85% {
    opacity: 0.8;
  }

  100% {
    transform: translateX(420%) skewX(-25deg);
    opacity: 0;
  }
}

/* Horizontal Ticker Viewport with edge fade */
.liquid-ticker-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 3;
  mask-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.8) 40px,
      #000000 90px,
      #000000 calc(100% - 90px),
      rgba(0, 0, 0, 0.8) calc(100% - 40px),
      transparent 100%);
  -webkit-mask-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.8) 40px,
      #000000 90px,
      #000000 calc(100% - 90px),
      rgba(0, 0, 0, 0.8) calc(100% - 40px),
      transparent 100%);
}

/* Continuous infinite track */
.liquid-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: liquidTickerScroll 34s linear infinite;
}

.hero-liquid-strip:hover .liquid-ticker-track {
  animation-play-state: paused;
}

@keyframes liquidTickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-33.333333%, 0, 0);
  }
}

.liquid-ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Codystar Dotted Marquee Neon Typography */
.liquid-ticker-item {
  font-family: 'Codystar', 'Inter', -apple-system, sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.95),
    0 0 14px rgba(96, 165, 250, 0.85),
    0 0 28px rgba(59, 130, 246, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.9);
  transition: text-shadow 0.3s ease;
}

.hero-liquid-strip:hover .liquid-ticker-item {
  text-shadow:
    0 0 8px rgba(255, 255, 255, 1),
    0 0 18px rgba(147, 197, 253, 0.95),
    0 0 32px rgba(96, 165, 250, 0.75),
    0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Glowing Accent Diamond Dot Separator */
.liquid-ticker-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 2.2rem;
  font-size: 0.8rem;
  color: #60a5fa;
  text-shadow:
    0 0 8px #60a5fa,
    0 0 16px #3b82f6,
    0 0 24px rgba(37, 99, 235, 0.85);
  opacity: 0.9;
  animation: liquidDotPulse 2.8s ease-in-out infinite alternate;
}

@keyframes liquidDotPulse {
  0% {
    opacity: 0.6;
    transform: scale(0.9);
    filter: drop-shadow(0 0 2px rgba(96, 165, 250, 0.5));
  }

  100% {
    opacity: 1;
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(96, 165, 250, 1));
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: calc(2rem + 46px);
  }

  .hero-liquid-strip {
    height: 44px;
  }

  .liquid-ticker-item {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }

  .liquid-ticker-dot {
    margin: 0 1.25rem;
    font-size: 0.7rem;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  width: 100%;
  padding-inline: 2rem;
}

/* ── Editorial Headline ─────────────────────── */
.hero-head-wrap {
  margin-bottom: 1.6rem;
}

.hero-head {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}

.hero-head-row {
  display: block;
}

.hero-head-row--1 {
  font-size: clamp(1.4rem, 2.8vw, 2.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
  top: 10px;
}

.hero-head-label {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.1vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-400);
  display: block;
  margin-bottom: 0.3em;
}

.hero-head-row--2 {
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.25em;
  flex-wrap: wrap;
}

.hero-head-row--3 {
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.03em;
}

/* Rectangular inline chip — the key editorial element */
.hero-chip {
  display: inline-flex;
  align-items: center;
  background: var(--blue-600);
  color: #ffffff;
  font-style: normal;
  font-size: clamp(1.2rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 0.06em 0.35em 0.1em;
  border-radius: 8px;
  line-height: 1.1;
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.45);
  position: relative;
  top: -0.05em;
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
  font-weight: 400;
  margin-top: 0.25rem;
}

/* CTA row */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.85rem;
}

/* ── Feature rows — editorial list in luxury dark glass ─ */
.hero-features {
  width: 100%;
  max-width: 720px;
  background: rgba(8, 12, 26, 0.58);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  isolation: isolate;
}

/* Top sheen on glass */
.hero-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25) 50%, transparent);
  pointer-events: none;
  z-index: 2;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--blue-400);
  letter-spacing: 0.15em;
  flex-shrink: 0;
  width: 22px;
}

.feature-mid {
  flex: 1;
  display: flex;
  align-items: baseline;
  column-gap: 1.25rem;
  row-gap: 0.25rem;
  flex-wrap: wrap;
}

.feature-title {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

.feature-arrow {
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: color var(--dur-fast) var(--ease-out);
}

.feature-row:hover .feature-arrow {
  color: var(--blue-400);
}

/* ══════════════════════════════════════════════
   BENTO GRID — Concept section
══════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-cell {
  border-radius: var(--r-lg);
  background: var(--glass-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-dim);
  box-shadow: 0 14px 40px -6px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.bento-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.bento-cell:hover {
  border-color: var(--border-blue);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2), 0 24px 60px rgba(0, 0, 0, 0.7);
}

.bento-c8 {
  grid-column: span 8;
}

.bento-c4 {
  grid-column: span 4;
}

.bento-c6 {
  grid-column: span 6;
}

.bento-c12 {
  grid-column: span 12;
}

/* Photo bento cells */
.bento-photo {
  min-height: 360px;
}

.bento-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.28) contrast(1.1);
  transition: transform 1.2s var(--ease-out);
  z-index: 0;
}

.bento-cell:hover .bento-photo-img {
  transform: scale(1.03);
}

.bento-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 5, 10, 0.35) 0%, rgba(4, 5, 10, 0.9) 80%);
  z-index: 1;
}

.bento-body {
  position: relative;
  z-index: 2;
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-plain-body {
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-index {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 1rem;
}

.bento-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

h1 .bento-title-outline,
h1.hero-head .bento-title-outline {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.92);
  background: transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-family: helvetica, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.bento-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 400;
}

.bento-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.bento-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 13px;
  color: var(--text-primary);
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  flex-shrink: 0;
}

/* Ambient glow card */
.bento-glow-card {
  background:
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
    #ffffff;
}

/* ══════════════════════════════════════════════
   SECTION BACKGROUND ACCENTS (Subtle Light Gradients)
══════════════════════════════════════════════ */
#koncept {
  position: relative;
  background-color: var(--bg-void);
}

#ems-technologie {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #edf5ff 38%, #f1f7ff 65%, #f8fafc 100%);
}

#cervene-svetlo-sekce {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #fff1f2 40%, #fff5f5 70%, #f8fafc 100%);
}

#treneri {
  position: relative;
  background-color: var(--bg-void);
}

#galerie {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 45%, #f8fafc 100%);
}

#cenik {
  position: relative;
  background: #f8fafc;
}

#lokalita {
  position: relative;
  background-color: var(--bg-void);
}

/* ══════════════════════════════════════════════
   PRIVACY PILLARS (3 pilíře naprostého soukromí)
══════════════════════════════════════════════ */
.privacy-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
  margin-bottom: 3.5rem;
}

.privacy-pillar-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: 2.25rem 1.85rem;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
  overflow: hidden;
}

.privacy-pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0% 0%, rgba(239, 246, 255, 0.9) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.privacy-pillar-card:hover {
  border-color: var(--blue-400);
  background: #ffffff;
  box-shadow: 0 20px 45px -8px rgba(37, 99, 235, 0.14), 0 4px 12px rgba(15, 23, 42, 0.03);
}

.privacy-pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: 1.35rem;
  position: relative;
  z-index: 1;
  transition: all var(--dur-fast) var(--ease-out);
}

.privacy-pillar-card:hover .privacy-pillar-icon {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.privacy-pillar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 1;
}

.privacy-pillar-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
  position: relative;
  z-index: 1;
}


/* ══════════════════════════════════════════════
   HOW IT WORKS / PROCESS STEP CARDS (Bento)
══════════════════════════════════════════════ */
.bento-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

/* Glowing connector track on desktop */
.bento-steps-grid::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(37, 99, 235, 0) 0%,
      rgba(59, 130, 246, 0.35) 20%,
      rgba(37, 99, 235, 0.7) 50%,
      rgba(59, 130, 246, 0.35) 80%,
      rgba(37, 99, 235, 0) 100%);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
  pointer-events: none;
  z-index: 0;
}

.bento-step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: 2.75rem 1.75rem 2.25rem 1.75rem;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  overflow: visible;
  z-index: 1;
}

.bento-step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(219, 234, 254, 0.5) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.bento-step-card:hover {
  border-color: var(--blue-500);
  background: #ffffff;
  box-shadow: 0 20px 45px -8px rgba(37, 99, 235, 0.14), 0 4px 12px rgba(15, 23, 42, 0.03);
}

.bento-step-badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--blue-600);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-600);
  z-index: 3;
  transition: border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}

.bento-step-card:hover .bento-step-badge {
  transform: translateX(-50%);
  border-color: var(--blue-700);
  background: var(--blue-600);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.4);
}

.bento-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.bento-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  transition: all var(--dur-fast) var(--ease-out);
}

.bento-step-card:hover .bento-step-icon {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.bento-step-pill {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 600;
  background: #eff6ff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  border: 1px solid #dbeafe;
}

.bento-step-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 2;
  line-height: 1.25;
}

.bento-step-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.75;
  font-weight: 400;
  position: relative;
  z-index: 2;
  margin: 0;
}

@media (max-width: 1024px) {
  .bento-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .bento-steps-grid::before {
    display: none;
  }
}

@media (max-width: 640px) {
  /* Mobile bento steps scroll horizontally via carousel styles */
}


/* ══════════════════════════════════════════════
   EMS COMPARISON
══════════════════════════════════════════════ */
.comparison-wrap {
  background: #ffffff;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  box-shadow: 0 16px 44px -8px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  position: relative;
}

.comparison-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.6) 0%, transparent 40%);
  pointer-events: none;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comp-col {
  padding: 3rem;
  background: #ffffff;
}

.comp-col+.comp-col {
  border-left: 1px solid #bfdbfe;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 45%);
  position: relative;
}

/* Blue vertical LED accent line */
.comp-col.featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--blue-600), var(--blue-400), var(--blue-600), transparent);
}

.comp-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.comp-label.dim {
  color: var(--text-muted);
}

.comp-label.lit {
  color: var(--blue-600);
}

.comp-heading {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: #0f172a;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.comp-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}

.comp-icon.neg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #ef4444;
}

.comp-icon.pos {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--blue-600);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.comp-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.comp-text span {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   TRAINERS
══════════════════════════════════════════════ */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.trainer-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-dim);
  box-shadow: 0 12px 35px -6px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.trainer-card:hover {
  border-color: var(--blue-400);
  box-shadow: 0 24px 55px -10px rgba(37, 99, 235, 0.16), 0 4px 12px rgba(15, 23, 42, 0.03);
}

.trainer-photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.trainer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.96) contrast(1.02);
}

.trainer-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 50%,
      rgba(255, 255, 255, 0.8) 80%,
      #ffffff 100%);
}

.trainer-tag-top {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #bfdbfe;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

/* Glass info sheet at bottom — minimal: name + bio only */
.trainer-info {
  position: relative;
  z-index: 3;
  margin: 0 1.25rem 1.25rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08);
  border-radius: var(--r-lg);
}

.trainer-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.trainer-bio {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   SPLIT GALLERY (DESKTOP GRID / MOBILE CAROUSEL)
══════════════════════════════════════════════ */
.split-gallery-section {
  position: relative;
  padding: 5.5rem 0;
  background: #ffffff;
}

.split-gallery-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.split-gallery-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

.split-gallery-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Staggered card individual photo container */
.staggered-card {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.10), 0 4px 14px rgba(15, 23, 42, 0.03);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.staggered-card .gallery-img,
.staggered-gallery-grid .gallery-item.staggered-card .gallery-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  filter: brightness(0.98) contrast(1.02);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.staggered-card:hover,
.staggered-gallery-grid .gallery-item.staggered-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 42px -6px rgba(15, 23, 42, 0.16), 0 6px 18px rgba(37, 99, 235, 0.08);
}

.staggered-card:hover .gallery-img,
.staggered-gallery-grid .gallery-item.staggered-card:hover .gallery-img {
  transform: scale(1.035);
  filter: brightness(1) contrast(1.05);
}

/* Glass inner shadow & specular lens overlay for photo gallery */
.staggered-card::after,
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;

  /* Polished glass rim + deep optical inner shadow */
  box-shadow:
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 18px 26px -10px rgba(255, 255, 255, 0.26),
    inset 0 -32px 42px -10px rgba(4, 8, 20, 0.65),
    inset 0 0 32px 2px rgba(4, 8, 20, 0.35);

  /* Subtle diagonal glass sheen */
  background: linear-gradient(140deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.04) 22%,
      transparent 50%,
      rgba(2, 6, 18, 0.16) 100%);
  transition:
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.staggered-card:hover::after,
.staggered-gallery-grid .gallery-item.staggered-card:hover::after,
.gallery-item:hover::after {
  /* Dynamic illuminated glass reflection on hover */
  box-shadow:
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(96, 165, 250, 0.45),
    inset 0 24px 34px -8px rgba(255, 255, 255, 0.36),
    inset 0 -38px 48px -8px rgba(4, 8, 20, 0.72),
    inset 0 0 40px 4px rgba(4, 8, 20, 0.42);
  background: linear-gradient(140deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.08) 28%,
      transparent 58%,
      rgba(2, 6, 18, 0.12) 100%);
}

/* Photo card counter badge (01 / 06) */
.gallery-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gallery-swipe-indicator {
  display: none;
}

/* ─── DESKTOP (3-sloupcový kaskádový grid) ─── */
@media (min-width: 992px) {
  .staggered-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
    position: relative;
  }

  .staggered-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .staggered-col--1 {
    margin-top: 145px;
  }

  .staggered-col--2 {
    margin-top: 55px;
  }

  .staggered-col--3 {
    margin-top: 0;
  }

  .staggered-gallery-grid .gallery-item.staggered-card {
    width: 100% !important;
    aspect-ratio: 3 / 4.15 !important;
    border-radius: 20px !important;
    display: block !important;
    flex: none !important;
  }

  .gallery-item--desktop-hidden {
    display: none !important;
  }
}

/* ─── TABLET (991px - 769px) ─── */
@media (max-width: 991px) and (min-width: 769px) {
  .split-gallery-wrap {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .split-gallery-content {
    max-width: 100%;
  }

  .staggered-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .staggered-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .staggered-col--1 {
    margin-top: 80px;
  }

  .staggered-col--2 {
    margin-top: 35px;
  }

  .staggered-gallery-grid .gallery-item.staggered-card {
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    border-radius: 16px !important;
    display: block !important;
    flex: none !important;
  }

  .gallery-item--desktop-hidden {
    display: none !important;
  }
}

/* ─── MOBIL (max 768px): Klasický horizontální touch swipe s jasným přesahem ─── */
@media (max-width: 768px) {
  .split-gallery-section {
    padding: 3.5rem 0;
  }

  .split-gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .split-gallery-content {
    max-width: 100%;
  }

  .gallery-swipe-indicator {
    display: flex;
    align-items: center;
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
  }

  .gallery-swipe-indicator-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--blue-700);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.35rem 0.8rem;
    border-radius: var(--r-full);
  }

  .gallery-swipe-indicator-pill svg {
    color: var(--blue-600);
    animation: swipePulse 1.8s ease-in-out infinite;
  }

  /* Rozpuštění sloupců tak, aby se všechny fotky staly přímými prvky v carouselu */
  .staggered-col,
  .staggered-col--1,
  .staggered-col--2,
  .staggered-col--3 {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .staggered-gallery-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--site-pad, 1.25rem);
    overscroll-behavior-x: contain;

    /* Plný průchod až k okrajům displeje */
    margin-left: calc(-1 * var(--site-pad, 1.25rem)) !important;
    margin-right: calc(-1 * var(--site-pad, 1.25rem)) !important;
    padding-left: var(--site-pad, 1.25rem) !important;
    padding-right: var(--site-pad, 1.25rem) !important;
    padding-top: 0.5rem !important;
    padding-bottom: 1.75rem !important;

    gap: 1rem !important;
    width: calc(100% + (2 * var(--site-pad, 1.25rem))) !important;
    max-width: calc(100% + (2 * var(--site-pad, 1.25rem))) !important;
    box-sizing: border-box !important;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .staggered-gallery-grid::-webkit-scrollbar {
    display: none;
  }

  /* Pravý distanční prvek pro okraj na konci posunu */
  .staggered-gallery-grid::after {
    content: '';
    flex: 0 0 1px !important;
    width: 1px !important;
    min-width: 1px !important;
    height: 1px !important;
    visibility: hidden;
    pointer-events: none;
  }

  /* 72vw garantuje, že další karta zřetelně vykukuje z pravého okraje (~70-80px) */
  .staggered-gallery-grid .gallery-item.staggered-card,
  .staggered-gallery-grid .gallery-item,
  .staggered-card {
    flex: 0 0 72vw !important;
    width: 72vw !important;
    max-width: 295px !important;
    min-width: 235px !important;
    height: 315px !important;
    min-height: 315px !important;
    aspect-ratio: auto !important;
    scroll-snap-align: start;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 26px -4px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    margin: 0 !important;
  }

  .gallery-item--desktop-hidden {
    display: block !important;
  }

  .privacy-pillars-grid {
    margin-top: 2.25rem !important;
  }
}

@keyframes swipePulse {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(4px);
  }
}

/* ══════════════════════════════════════════════
   GALLERY (LEGACY / LIGHTBOX SUPPORT)
══════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-dim);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  cursor: pointer;
  grid-column: span 4;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.gallery-item--wide {
  grid-column: span 7;
  min-height: 440px;
}

.gallery-item--tall {
  grid-column: span 5;
  min-height: 440px;
}

.gallery-item--cinematic {
  grid-column: span 12;
  min-height: 360px;
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.94) contrast(1.03);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
}

.gallery-item:hover {
  border-color: var(--blue-500);
  box-shadow: 0 20px 45px -8px rgba(37, 99, 235, 0.16), 0 4px 12px rgba(15, 23, 42, 0.03);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.035);
  filter: brightness(0.96) contrast(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(4, 5, 10, 0.05) 0%,
      rgba(4, 5, 10, 0.3) 50%,
      rgba(4, 5, 10, 0.92) 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-caption {
  position: relative;
  z-index: 3;
  margin: 0 1rem 1rem;
  padding: 0.95rem 1.25rem;
  background: rgba(14, 19, 36, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}

.gallery-item:hover .gallery-caption {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(20, 27, 48, 0.96);
}

.gallery-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-400);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.gallery-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gallery-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-zoom-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all var(--dur-fast) var(--ease-out);
}

.gallery-item:hover .gallery-zoom-btn {
  background: var(--blue-600);
  border-color: var(--blue-500);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.45);
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 10, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.gallery-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-lightbox-figure {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-lightbox-img-wrap {
  width: 100%;
  max-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85);
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}

.gallery-lightbox-caption {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.4rem;
  background: rgba(10, 14, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
}

.gallery-lightbox-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gallery-lightbox-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-400);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
}

.gallery-lightbox-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.gallery-lightbox-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: right;
  max-width: 480px;
  line-height: 1.5;
}

.gallery-lightbox-close {
  position: absolute;
  top: -3.25rem;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}

.gallery-lightbox-nav {
  position: absolute;
  top: calc(50% - 2rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10, 14, 28, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  z-index: 5;
}

.gallery-lightbox-nav:hover {
  background: var(--blue-600);
  border-color: var(--blue-500);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
}

.gallery-lightbox-nav.prev {
  left: -3.75rem;
}

.gallery-lightbox-nav.next {
  right: -3.75rem;
}

@media (max-width: 960px) {
  .gallery-item--wide {
    grid-column: span 12;
    min-height: 380px;
  }

  .gallery-item--tall {
    grid-column: span 6;
    min-height: 320px;
  }

  .gallery-item {
    grid-column: span 6;
    min-height: 300px;
  }

  .gallery-item--cinematic {
    grid-column: span 12;
    min-height: 300px;
  }

  .gallery-lightbox-nav.prev {
    left: 0.5rem;
  }

  .gallery-lightbox-nav.next {
    right: 0.5rem;
  }

  .gallery-lightbox-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .gallery-lightbox-desc {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero-features {
    max-width: 100%;
  }

  .feature-row {
    padding: 1rem 1.15rem;
    gap: 1rem;
  }

  .feature-mid {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  /* Gallery uses horizontal carousel on mobile */

  .gallery-lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
  }
}

/* ══════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════ */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
  border-radius: var(--r-full);
  padding: 0.35rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 3.5rem;
  gap: 0;
  position: relative;
  box-sizing: border-box;
}

/* Sliding active pill */
.pricing-toggle-pill {
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  border-radius: var(--r-full);
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12), 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: left 0.3s var(--ease-out), width 0.3s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.pricing-tab {
  position: relative;
  z-index: 1;
  padding: 0.75rem 1.85rem;
  border-radius: var(--r-full);
  border: none;
  background: transparent;
  color: #64748b;
  font-family: var(--font-display, inherit);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.25s var(--ease-out);
  white-space: nowrap;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-tab.active {
  color: var(--blue-700);
  font-weight: 700;
}

.pricing-tab:not(.active):hover {
  color: #0f172a;
}

.tab-label-short {
  display: none;
}

.tab-label-full {
  display: inline;
}

@media (max-width: 640px) {
  .pricing-toggle {
    width: 100%;
    max-width: 350px;
    margin-bottom: 2.25rem;
    padding: 0.25rem;
  }

  .pricing-tab {
    flex: 1;
    padding: 0.65rem 0.4rem;
    font-size: 12px;
  }

  .tab-label-full {
    display: none;
  }

  .tab-label-short {
    display: inline;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  transition: opacity 0.22s var(--ease-out);
}

.pricing-grid.is-hidden {
  display: none;
}

.pricing-card {
  padding: 2.25rem;
  border-radius: var(--r-xl);
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.pricing-card:hover {
  border-color: var(--blue-500);
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(15, 23, 42, 0.03);
}

.pricing-card.featured {
  background: #ffffff;
  border: 2px solid var(--blue-600);
  box-shadow: 0 10px 28px -4px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  position: relative;
  z-index: 2;
}

.pricing-card.featured:hover {
  border-color: var(--blue-700);
  box-shadow: 0 16px 36px -4px rgba(37, 99, 235, 0.18), 0 4px 10px rgba(15, 23, 42, 0.04);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 1.15rem;
  border-radius: var(--r-full);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 0.45rem;
  min-height: 3.25rem;
  display: flex;
  align-items: flex-start;
}

.plan-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 44px;
  display: flex;
  align-items: flex-start;
}

.plan-price-wrap {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.plan-price-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 26px;
  min-height: 26px;
}

.plan-price-orig {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.7);
  letter-spacing: -0.02em;
}

.plan-price-save-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #15803d;
  letter-spacing: 0.02em;
}

.plan-price-standard-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  font-weight: 600;
}

.plan-price-main {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  height: 44px;
  margin: 0.1rem 0;
}

.plan-price-val {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.035em;
  line-height: 1;
}

.plan-price-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-600);
}

.plan-entries-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 12px;
  color: #1e40af;
  min-height: 40px;
  box-sizing: border-box;
}

.pricing-card.featured .plan-entries-chip {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e3a8a;
}

.plan-chip-icon {
  display: flex;
  align-items: center;
  color: var(--blue-600);
  flex-shrink: 0;
}

.plan-chip-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  color: #1e3a8a;
}

.plan-chip-count {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #0f172a;
  font-size: 13px;
}

.plan-chip-title {
  font-weight: 500;
  font-size: 12px;
}

.plan-chip-dot {
  opacity: 0.35;
  font-size: 10px;
}

.plan-chip-rate {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--blue-700);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
}

.perk-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-check {
  color: var(--blue-600);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn {
  margin-top: auto;
  gap: 0.5rem;
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   LOCATION
══════════════════════════════════════════════ */
.location-wrap {
  background: #ffffff;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  box-shadow: 0 16px 44px -8px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  position: relative;
}

.location-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.5) 0%, transparent 40%);
  pointer-events: none;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.location-info {
  padding: 3.5rem;
}

.location-info h3 {
  color: #0f172a;
}

.location-info p {
  color: #475569;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.loc-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.loc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}

.loc-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.loc-value {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.65;
}

.loc-value a {
  color: var(--blue-600);
  font-weight: 600;
}

/* Map area */
.location-map {
  position: relative;
  min-height: 420px;
  background: #080f1e;
  border-left: 1px solid var(--border-dim);
  overflow: hidden;
}

.map-svg {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.map-pin-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.65);
  position: relative;
  z-index: 2;
}

.map-pin-ring {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-600);
  animation: map-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes map-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0.9;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.map-pin-ring {
  position: absolute;
  top: 50%;
  left: 50%;
}

.map-label {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.38rem 0.9rem;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════
   BOOKING MODAL
══════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur-base) var(--ease-out);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 30px 80px -10px rgba(15, 23, 42, 0.25);
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--dur-base) var(--ease-out);
}

.modal-backdrop.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--r-sm);
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.form-control:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: #ffffff;
}

.form-control option {
  background: #ffffff;
  color: #0f172a;
}

.form-control::placeholder {
  color: #94a3b8;
  opacity: 0.9;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border-dim);
  padding: 4.5rem 0 2.5rem;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.site-footer .brand-gym-text {
  color: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 13.5px;
  color: #475569;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--blue-600);
}

.site-footer p[style*="color:#ffffff"] {
  color: #0f172a !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dim);
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════
   MOBILE NAV DRAWER
══════════════════════════════════════════════ */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
}

.nav-drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.28s var(--ease-out);
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -12px 0 40px -10px rgba(15, 23, 42, 0.16);
  padding: 1.25rem 1.25rem 2rem;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
}

.nav-drawer.open {
  pointer-events: all;
}

.nav-drawer.open .nav-drawer-bg {
  opacity: 1;
}

.nav-drawer.open .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.nav-drawer-close {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.nav-drawer-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.nav-drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  color: #334155;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all var(--dur-fast) var(--ease-out);
}

.nav-drawer-link:hover {
  color: #0f172a;
  background: #f8fafc;
}

.nav-drawer-link.active {
  color: var(--blue-600);
  background: #eff6ff;
  font-weight: 600;
}

.nav-drawer-user-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-drawer-account {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--blue-600) !important;
  font-weight: 600;
}

.nav-drawer-credits {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 400;
  margin-top: 3px;
}

.nav-drawer-logout {
  color: #94a3b8 !important;
  font-size: 13.5px;
}

.nav-drawer-logout:hover {
  color: #ef4444 !important;
  background: #fef2f2 !important;
}

.nav-drawer-login {
  color: var(--blue-600) !important;
  font-weight: 600;
}

.nav-drawer-admin {
  color: #2563eb !important;
  font-weight: 600;
}

.nav-drawer-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-concepts {
    grid-template-columns: 1fr;
  }

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

  .bento-c8,
  .bento-c4,
  .bento-c6 {
    grid-column: span 12;
  }

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

  .comp-col+.comp-col {
    border-left: none;
    border-top: 1px solid var(--border-dim);
  }

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

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

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

  .location-map {
    min-height: 340px;
    border-left: none;
    border-top: 1px solid var(--border-dim);
  }

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

@media (max-width: 860px) {
  .nav-inner {
    padding-inline: 1rem;
    height: 60px;
  }

  .nav-links,
  .nav-live {
    display: none;
  }

  .nav-mobile-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    flex-shrink: 0;
  }

  .nav-mobile-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
  }

  .header-credits-pill {
    display: none !important;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-user-label {
    display: none !important;
  }

  .nav-user-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
  }

  .nav-user-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
  }

  .nav-user-avatar {
    width: 26px;
    height: 26px;
  }

  .nav-cta {
    padding: 7px 14px !important;
    font-size: 11.5px !important;
    white-space: nowrap;
    letter-spacing: 0 !important;
  }

  .brand-gym-text {
    font-size: 1.25rem;
  }

  .brand-chip-247 {
    font-size: 0.65rem;
    padding: 0.15rem 0.38rem;
  }

  /* ─── Mobile Horizontal Carousel (Trainers & Pricing) ──── */
  :root {
    --site-pad: 1.25rem;
  }

  .container {
    padding-inline: var(--site-pad) !important;
  }

  .trainers-grid,
  .pricing-grid,
  .gallery-grid,
  .privacy-pillars-grid,
  .bento-steps-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--site-pad, 1.25rem);
    overscroll-behavior-x: contain;

    /* Full-bleed past container to screen edges */
    margin-left: calc(-1 * var(--site-pad, 1.25rem)) !important;
    margin-right: calc(-1 * var(--site-pad, 1.25rem)) !important;
    padding-left: var(--site-pad, 1.25rem) !important;
    padding-right: var(--site-pad, 1.25rem) !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;

    gap: 1.25rem !important;
    width: calc(100% + (2 * var(--site-pad, 1.25rem))) !important;
    max-width: calc(100% + (2 * var(--site-pad, 1.25rem))) !important;
    box-sizing: border-box !important;

    /* Hide scrollbars cleanly */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .trainers-grid::-webkit-scrollbar,
  .pricing-grid::-webkit-scrollbar,
  .gallery-grid::-webkit-scrollbar,
  .privacy-pillars-grid::-webkit-scrollbar,
  .bento-steps-grid::-webkit-scrollbar {
    display: none;
  }

  /* Right-end spacer to guarantee end margin in all browsers */
  .trainers-grid::after,
  .pricing-grid::after,
  .gallery-grid::after,
  .privacy-pillars-grid::after,
  .bento-steps-grid::after {
    content: '';
    flex: 0 0 1px !important;
    width: 1px !important;
    min-width: 1px !important;
    height: 1px !important;
    visibility: hidden;
    pointer-events: none;
  }

  .privacy-pillar-card,
  .bento-step-card {
    flex: 0 0 80vw !important;
    width: 80vw !important;
    max-width: 320px !important;
    min-width: 250px !important;
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .trainer-card {
    flex: 0 0 82vw !important;
    width: 82vw !important;
    max-width: 360px !important;
    min-width: 280px !important;
    min-height: 490px !important;
    scroll-snap-align: start;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
  }

  .pricing-card {
    flex: 0 0 84vw !important;
    width: 84vw !important;
    max-width: 360px !important;
    min-width: 280px !important;
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    padding: 1.85rem 1.45rem !important;
  }

  .gallery-item,
  .gallery-item--wide,
  .gallery-item--tall,
  .gallery-item--cinematic {
    flex: 0 0 84vw !important;
    width: 84vw !important;
    max-width: 360px !important;
    min-width: 280px !important;
    min-height: 380px !important;
    scroll-snap-align: start;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
  }

  .pricing-grid.is-hidden {
    display: none !important;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 5rem;
  }

  .nav-links,
  .nav-live {
    display: none;
  }

  .nav-mobile-btn {
    display: inline-flex;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .bento-photo {
    min-height: 280px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════
   RESERVATION WORKFLOW (FRONT-END)
══════════════════════════════════════════════ */
.booking-page-wrap {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 6rem;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.booking-header {
  margin-bottom: 2.5rem;
}

.booking-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color var(--dur-fast) var(--ease-out);
}

.booking-back-link:hover {
  color: var(--blue-600);
}

.booking-page-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.booking-page-desc {
  font-size: 14.5px;
  color: #475569;
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* User status bar */
.booking-user-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-dim);
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.user-status-logged,
.user-status-guest {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 13px;
  color: #0f172a;
  flex-wrap: wrap;
  word-break: break-word;
  max-width: 100%;
  min-width: 0;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.35);
}

.status-indicator-dot.online {
  background: #16a34a;
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.35);
}

.user-status-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-text-link {
  font-size: 12.5px;
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--dur-fast) ease;
}

.btn-text-link:hover {
  color: var(--blue-800);
  text-decoration: underline;
}

.btn-text-link.dim {
  color: #64748b;
}

.btn-text-link.dim:hover {
  color: #0f172a;
}

/* Quick Login drop panel */
.quick-login-panel {
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: #ffffff;
  border: 1px solid #bfdbfe;
  box-shadow: 0 16px 40px -6px rgba(15, 23, 42, 0.08);
}

.quick-login-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.quick-login-head h4 {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.quick-login-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
}

.quick-login-close:hover {
  color: #0f172a;
}

.quick-login-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
}

.quick-login-error {
  margin-top: 0.75rem;
  font-size: 12px;
  color: #ef4444;
}

/* Booking Layout Grid */
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2.25rem;
  align-items: start;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.booking-steps-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.booking-card {
  --card-pad-x: 2.25rem;
  padding: 2.25rem var(--card-pad-x);
  border-radius: var(--r-xl);
  background: #ffffff;
  border: 1px solid var(--border-dim);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.step-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.step-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-full);
  flex-shrink: 0;
}

.step-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.step-card-sub {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

.booking-substep {
  margin-bottom: 2rem;
}

.booking-substep:last-child {
  margin-bottom: 0;
}

.booking-field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.label-hint {
  font-weight: 400;
  color: #64748b;
  font-size: 12px;
  margin-left: 0.4rem;
}

/* 1A: Branch Cards */
.branch-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Accessible visually-hidden utility & card radio reset */
.sr-only,
.branch-card input[type="radio"],
.service-card input[type="radio"],
.trainer-card-opt input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.branch-card {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: #ffffff;
  border: 1.5px solid var(--border-dim);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--dur-fast) var(--ease-out);
}

.branch-card:hover {
  border-color: #93c5fd;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.branch-card.active {
  border-color: var(--blue-600);
  background: #eff6ff;
  box-shadow: 0 0 0 1px var(--blue-600), 0 4px 16px rgba(37, 99, 235, 0.15);
}

.branch-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.branch-city-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--blue-600);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.branch-check-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: transparent;
}

.branch-card.active .branch-check-badge {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.branch-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
}

.branch-address {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 0.85rem;
  flex: 1;
}

.branch-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 11px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.65rem;
}

.branch-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
}

/* 1B: Services Grid */
.service-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: #ffffff;
  border: 1.5px solid var(--border-dim);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--dur-fast) var(--ease-out);
}

.service-card:hover {
  border-color: #93c5fd;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.service-card.active {
  border-color: var(--blue-600);
  background: #eff6ff;
  box-shadow: 0 0 0 1px var(--blue-600), 0 4px 18px rgba(37, 99, 235, 0.15);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.service-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  transition: all var(--dur-fast) var(--ease-out);
}

.service-card.active .service-icon-badge {
  background: #dbeafe;
  border-color: #93c5fd;
  color: var(--blue-700);
}

.service-price-tag {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
}

.service-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}

.service-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.service-duration-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-sm);
  width: fit-content;
}

/* 1C: Trainers Grid */
.trainer-selector-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trainer-card-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  border-radius: var(--r-lg);
  background: #ffffff;
  border: 1.5px solid var(--border-dim);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.trainer-card-opt:hover {
  border-color: #93c5fd;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.trainer-card-opt.active {
  border-color: var(--blue-600);
  background: #eff6ff;
  box-shadow: 0 0 0 1px var(--blue-600), 0 4px 14px rgba(37, 99, 235, 0.15);
}

.trainer-avatar-img,
.trainer-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.trainer-avatar-placeholder {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 15px;
}

.trainer-info-meta {
  flex: 1;
}

.trainer-opt-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.trainer-opt-spec {
  font-size: 12px;
  color: #475569;
  margin: 0;
}

.trainer-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
}

.trainer-card-opt.active .trainer-check-icon {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.trainers-dynamic-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* 2A: Days Scroll Strip */
.day-selector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.day-hint-text {
  font-size: 11.5px;
  color: var(--text-muted);
}

.days-scroll-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  margin-left: calc(-1 * var(--card-pad-x, 2.25rem));
  margin-right: calc(-1 * var(--card-pad-x, 2.25rem));
  padding-left: var(--card-pad-x, 2.25rem);
  padding-right: var(--card-pad-x, 2.25rem);
  padding-top: 0.35rem;
  padding-bottom: 0.85rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: var(--card-pad-x, 2.25rem);
  width: calc(100% + (var(--card-pad-x, 2.25rem) * 2));
  max-width: calc(100% + (var(--card-pad-x, 2.25rem) * 2));
  min-width: 0;
  box-sizing: border-box;
}

.days-scroll-strip::-webkit-scrollbar {
  height: 4px;
}

.days-scroll-strip::-webkit-scrollbar-track {
  background: transparent;
}

.days-scroll-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--r-full);
}

.days-scroll-strip::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.day-card-pill {
  flex: 0 0 68px;
  padding: 0.85rem 0.5rem;
  border-radius: var(--r-lg);
  background: #ffffff;
  border: 1.5px solid var(--border-dim);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  position: relative;
  transition: all var(--dur-fast) var(--ease-out);
}

.day-card-pill:hover {
  border-color: #93c5fd;
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.day-card-pill.active {
  background: var(--blue-600);
  border-color: var(--blue-700);
  box-shadow: 0 0 0 1px var(--blue-700), 0 4px 16px rgba(37, 99, 235, 0.35);
  color: #ffffff;
}

.day-pill-name {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
}

.day-card-pill.active .day-pill-name {
  color: rgba(255, 255, 255, 0.85);
}

.day-pill-num {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #0f172a;
}

.day-card-pill.active .day-pill-num {
  color: #ffffff;
}

.day-pill-month {
  font-size: 10.5px;
  color: #64748b;
}

.day-card-pill.active .day-pill-month {
  color: rgba(255, 255, 255, 0.85);
}

.day-tag-badge {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 4px;
  border-radius: 4px;
  line-height: 1.1;
  margin-top: 2px;
}

.day-tag-badge.closed-tag {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);

  display: none !important;
}

.tariff-desc {
  display: none;
}

.day-tag-badge.holiday-tag {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  position: absolute;
  top: -10px;
}

.day-card-pill.ems-closed {
  opacity: 0.75;
  border-color: #fecaca;
  background: #fef2f2;
}

.day-card-pill.ems-closed .day-pill-name {
  color: #991b1b;
}

.day-card-pill.ems-closed .day-pill-num {
  color: #7f1d1d;
}

.day-card-pill.ems-closed .day-pill-month {
  color: #991b1b;
}

.day-card-pill.ems-closed:hover {
  opacity: 1;
  border-color: #f87171;
  background: #fee2e2;
}

.day-card-pill.ems-closed.active {
  opacity: 1;
  background: #fee2e2 !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1.5px #ef4444, 0 4px 14px rgba(239, 68, 68, 0.2) !important;
  color: #7f1d1d !important;
}

.day-card-pill.ems-closed.active .day-pill-name {
  color: #991b1b !important;
  font-weight: 700;
}

.day-card-pill.ems-closed.active .day-pill-num {
  color: #7f1d1d !important;
  font-weight: 800;
}

.day-card-pill.ems-closed.active .day-pill-month {
  color: #991b1b !important;
  font-weight: 600;
}

.day-card-pill.ems-closed.active .day-tag-badge {
  background: #fecaca;
  color: #991b1b;
  border-color: #fca5a5;
}

.ems-closed-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1.5px solid #fed7aa;
  background: #fffbeb !important;
  border-radius: var(--r-xl);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.08);
  margin-top: 0.75rem;
}

.ems-closed-beacon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fef3c7;
  border: 1.5px solid #fde68a;
  color: #d97706;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12);
}

.ems-closed-title {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.ems-closed-desc {
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-weight: 450;
}

.ems-closed-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  display: none;
}

/* 2B: Hour Slots Grid */
.slots-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.slots-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.slots-hours-hint {
  margin-bottom: 0.95rem;
}

.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--dur-normal) var(--ease-out);
}

.hours-badge.ems-badge {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.28);
  color: #fbbf24;
}

.hours-badge.gym-badge {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #4ade80;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-dot.available {
  background: #22c55e;
}

.legend-dot.occupied {
  background: rgba(255, 255, 255, 0.25);
}

.slots-loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  font-size: 13.5px;
  color: #475569;
}

.spinner-circle {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.slots-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.slots-period-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.period-tab {
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.period-tab:hover {
  background: #f8fafc;
  border-color: #93c5fd;
  color: #0f172a;
}

.period-tab.active {
  background: #eff6ff;
  border-color: var(--blue-600);
  color: var(--blue-700);
  font-weight: 700;
}

.slots-controls-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.slots-only-free-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 12px;
  color: #475569;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  border: 1.5px solid #e2e8f0;
  transition: all var(--dur-fast) var(--ease-out);
  font-weight: 500;
}

.slots-only-free-toggle:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.slots-only-free-toggle input[type="checkbox"] {
  accent-color: var(--blue-600);
  cursor: pointer;
}

.slots-view-mode-toggle {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: var(--r-sm);
  border: 1px solid #e2e8f0;
}

.view-mode-btn {
  padding: 4px 10px;
  border-radius: 4px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-mode-btn:hover {
  color: #0f172a;
}

.view-mode-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  font-weight: 700;
}

/* Two-Step Progressive Disclosure: Hours Grid */
.slots-step-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.slots-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hours-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.5rem;
}

.hours-selector-grid .hour-status-tag {
  display: none;
}

.hour-card-btn {
  padding: 8px 6px;
  border-radius: var(--r-md);
  background: #ffffff;
  border: 1.5px solid var(--border-dim);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.hour-card-btn:hover:not(.active) {
  background: #f8fafc;
  border-color: #93c5fd;
}

.hour-card-btn.active {
  background: #eff6ff;
  border-color: var(--blue-600);
  color: var(--blue-700);
  box-shadow: 0 0 0 1px var(--blue-600), 0 4px 12px rgba(37, 99, 235, 0.15);
}

.hour-card-btn.occupied {
  opacity: 0.4;
  border-color: #f1f5f9;
  background: #f8fafc;
  color: #94a3b8;
}

.hour-time-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
}

.hour-status-tag {
  font-size: 9.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.hour-status-tag.volno {
  color: #4ade80;
}

.hour-status-tag.obsazeno {
  color: var(--text-muted);
}

.hour-card-btn.active .hour-status-tag {
  color: #93c5fd;
}

/* Step 2: Minute Slots Section */
.slots-minutes-step-wrap {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px dashed #e2e8f0;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.slot-btn {
  padding: 0.85rem 0.65rem;
  border-radius: var(--r-md);
  background: #ffffff;
  border: 1.5px solid var(--border-dim);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.slot-btn:hover:not(:disabled) {
  border-color: #93c5fd;
  background: #f8fafc;
}

.slot-btn.selected {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #ffffff;
  box-shadow: 0 0 0 1px var(--blue-600), 0 4px 14px rgba(37, 99, 235, 0.2);
}

.slot-btn.occupied {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: #f1f5f9;
  background: #f8fafc;
  color: #94a3b8;
}

.slot-btn.occupied .slot-time-range,
.slot-btn.occupied .slot-time {
  text-decoration: line-through;
}

.slot-time-range,
.slot-time {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: inherit;
}

.slot-meta-dur {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
  display: none;
}

.slot-btn.selected .slot-meta-dur {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.slot-status-pill {
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-status-pill.volno {
  color: #16a34a;
}

.slot-status-pill.obsazeno {
  color: #94a3b8;
}

.slot-btn.selected .slot-status-pill {
  color: #ffffff;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.slots-error,
.slots-empty {
  grid-column: span 4;
  text-align: center;
  padding: 2.5rem 1rem;
  color: #64748b;
  font-size: 13px;
}

/* 3: Client Info Step */
.logged-client-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--r-lg);
  margin-bottom: 1.5rem;
}

.logged-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.logged-client-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.logged-client-info strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

.logged-client-info span {
  color: #475569;
  font-size: 12px;
}

.create-account-toggle-wrap {
  margin-top: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-md);
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-label input {
  display: none;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: var(--r-sm);
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--dur-fast) ease;
}

.custom-checkbox-label input:checked+.checkbox-box {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.custom-checkbox-label input:checked+.checkbox-box::after {
  content: '✓';
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.checkbox-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}

.password-field-wrap {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

/* RIGHT COLUMN: Sticky Summary Sidebar */
.booking-sidebar-col {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--header-h, 64px) + 1.25rem);
  align-self: start;
  z-index: 25;
}

.sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--header-h, 64px) + 1.25rem);
}

.booking-summary-card {
  padding: 1.85rem;
  border-radius: var(--r-xl);
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  max-height: calc(100vh - var(--header-h, 64px) - 2.5rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.booking-summary-card::-webkit-scrollbar {
  width: 4px;
}

.booking-summary-card::-webkit-scrollbar-track {
  background: transparent;
}

.booking-summary-card::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.summary-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  font-size: 13px;
}

.summary-row-label {
  color: #64748b;
  flex-shrink: 0;
  font-weight: 500;
}

.summary-row-val {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

.summary-row-val.lit {
  color: var(--blue-600);
  font-family: var(--font-mono);
  font-weight: 700;
}

.summary-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 1.35rem 0;
}

.summary-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--r-lg);
}

.price-box-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
}

.price-box-amount {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.summary-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.summary-perk {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 12px;
  color: #475569;
}

.perk-check {
  color: #16a34a;
  font-weight: 700;
}

.btn-submit-booking {
  width: 100%;
  justify-content: center;
  padding: 15px !important;
  font-size: 14px !important;
  font-weight: 700;
}

.btn-submit-booking:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.summary-guarantee-note {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  margin: 1rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Success Card */
.booking-success-card {
  padding: 3rem 2.5rem;
  border-radius: var(--r-xl);
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.success-top-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.success-check-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  box-shadow: 0 0 25px rgba(22, 163, 74, 0.2);
}

.success-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.success-sub {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.booking-code-box {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
}

.code-box-label {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.code-box-value {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: 0.1em;
}

.code-box-hint {
  font-size: 12.5px;
  color: #475569;
}

.success-details-list {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--r-lg);
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.success-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.success-detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
  width: 140px;
}

.detail-value {
  text-align: right;
  font-size: 14px;
  color: #0f172a;
  font-weight: 600;
  display: flex;
  flex-direction: column;
}

.detail-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 0.15rem;
}

.lit-date {
  color: #0f172a;
}

.lit-time {
  font-family: var(--font-mono);
  color: var(--blue-600);
  font-weight: 700;
}

.smart-entry-instructions {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  margin-bottom: 2rem;
  text-align: left;
}

.instruction-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}

.success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   ADMINISTRATION STYLING
══════════════════════════════════════════════ */
.admin-body {
  background: #04060c;
  color: var(--text-primary);
  min-height: 100vh;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(5, 8, 16, 0.9);
}

.admin-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-brand-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-sm);
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-md);
  transition: all var(--dur-fast) ease;
}

.admin-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.admin-nav-link.active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.admin-nav-link.external {
  color: var(--blue-400);
}

.admin-user-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-user-name {
  font-size: 12.5px;
  color: #ffffff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-main {
  padding: 2.5rem 0 5rem;
}

.admin-container {
  max-width: 1360px;
}

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.admin-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* Admin Stats Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-num.lit {
  color: #4ade80;
}

.stat-num.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--blue-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Admin Filters Form */
.admin-filters-card {
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.5rem;
}

.admin-filters-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: flex-end;
}

.filter-label {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control-sm {
  padding: 8px 12px !important;
  font-size: 12.5px !important;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-clear-filters {
  font-size: 11.5px;
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Admin Table */
.admin-card {
  border-radius: var(--r-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.admin-table th {
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
}

.admin-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-booking-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  display: block;
}

/* Client Profile Tables (light background within booking-card) */
.booking-card .admin-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 2px solid #e2e8f0 !important;
  font-weight: 700 !important;
}

.booking-card .admin-table td {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #0f172a !important;
}

.booking-card .admin-table tr:hover td {
  background: #f8fafc !important;
}

.booking-card .table-booking-code {
  color: #0f172a !important;
}

.booking-card .status-badge.status-confirmed {
  background: #ecfdf5 !important;
  color: #15803d !important;
  border: 1px solid #a7f3d0 !important;
}

.booking-card .status-badge.status-completed {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}

.booking-card .status-badge.status-cancelled {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}

.table-meta-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.table-time-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--blue-600);
}

.service-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-sm);
  margin-bottom: 0.2rem;
}

.service-pill.ems {
  background: rgba(37, 99, 235, 0.15);
  color: var(--blue-400);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.service-pill.gym {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.table-trainer-info {
  font-size: 12px;
  color: var(--text-secondary);
}

.table-client-link {
  font-size: 12px;
  color: var(--blue-400);
  text-decoration: none;
}

.table-client-link.dim {
  color: var(--text-muted);
}

.table-note-bubble {
  display: inline-block;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.6rem;
  border-radius: var(--r-sm);
  max-width: 220px;
}

.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
  border-radius: var(--r-full);
}

.status-badge.status-confirmed {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.status-completed {
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.status-badge.status-cancelled {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-action-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.btn-action-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-action-icon.complete:hover {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.btn-action-icon.cancel:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

.btn-action-icon.restore:hover {
  background: var(--blue-600);
  border-color: var(--blue-500);
  color: #fff;
}

.btn-action-icon.delete:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.btn-action-icon.edit:hover {
  background: var(--blue-600);
  border-color: var(--blue-500);
  color: #fff;
}

.btn-action-icon.toggle-off:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #f59e0b;
}

.btn-action-icon.toggle-on:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #22c55e;
}

.btn-action-icon.credits:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--blue-500);
  color: #fff;
}

.table-trainer-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.table-trainer-photo-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

/* Responsive adjustments for booking & admin */
@media (max-width: 960px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-sidebar-col,
  .sticky-sidebar {
    position: static;
    top: auto;
  }

  .booking-summary-card {
    max-height: none;
    overflow-y: visible;
  }

  .branch-selector-grid {
    grid-template-columns: 1fr;
  }

  .service-selector-grid {
    grid-template-columns: 1fr;
  }

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

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

  .admin-filters-form {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════
   ADMIN POLISH: BUTTONS, TOGGLE CARDS & DETAILS
══════════════════════════════════════════════ */
.btn-warning-soft {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--dur-fast) ease;
}

.btn-warning-soft:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fef3c7;
}

.btn-success-soft {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--dur-fast) ease;
}

.btn-success-soft:hover {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(34, 197, 94, 0.5);
  color: #dcfce7;
}

.status-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.35rem;
}

.status-dot-sm.online {
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.status-dot-sm.offline {
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

.admin-form-container {
  padding: 2.25rem;
}

@media (max-width: 640px) {
  .admin-form-container {
    padding: 1.25rem 1rem;
  }
}

.admin-form-section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.admin-select-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.admin-select-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.admin-select-pill.active {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--blue-500);
}

.select-pill-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition: all var(--dur-fast) ease;
}

.admin-select-pill.active .select-pill-box {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.select-pill-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.select-pill-info strong {
  font-size: 13px;
  color: #ffffff;
}

.select-pill-info small {
  font-size: 11px;
  color: var(--text-muted);
}

.admin-form-toggle-card {
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
  transition: all var(--dur-fast) ease;
}

.admin-form-toggle-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

.admin-form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-booking-floating-bar {
  display: none;
}

/* ══════════════════════════════════════════════
   ADMIN CALENDAR: BRANCH TIMETABLE & CHIPS
══════════════════════════════════════════════ */
.calendar-branch-tabs {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  border-radius: var(--r-xl);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.calendar-branch-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.branch-pill-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.branch-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  transition: all var(--dur-fast) ease;
}

.branch-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.branch-pill-btn.active {
  background: rgba(37, 99, 235, 0.18);
  border-color: var(--blue-500);
  color: #fff;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pill-dot.online {
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.pill-dot.offline {
  background: #6b7280;
}

.pill-title {
  font-weight: 600;
}

.pill-city {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.calendar-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.calendar-week-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-xl);
}

.btn-week-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--dur-fast) ease;
}

.btn-week-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.calendar-week-range {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.5rem;
  font-size: 13.5px;
  color: #ffffff;
}

.btn-today-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-400);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-decoration: none;
}

.calendar-mini-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-xl);
}

.mini-stat-item {
  display: flex;
  flex-direction: column;
}

.mini-stat-label {
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-muted);
}

.mini-stat-val {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.mini-stat-val.lit {
  color: #4ade80;
}

.mini-stat-val.ems-text {
  color: var(--blue-400);
}

.mini-stat-val.gym-text {
  color: #38bdf8;
}

.mini-stat-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
}

/* Timetable Table */
.calendar-grid-card {
  border-radius: var(--r-xl);
  overflow: hidden;
}

.calendar-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.calendar-timetable {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12.5px;
}

.calendar-timetable thead th {
  padding: 1rem 0.85rem;
  background: rgba(14, 18, 35, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.time-col-header {
  width: 90px;
  min-width: 90px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  left: 0;
  z-index: 15;
  background: #090d1a !important;
}

.day-col-header {
  width: calc((100% - 90px) / 7);
  min-width: 120px;
}

.day-col-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.day-col-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.day-col-date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
}

.day-col-header.today-col {
  background: rgba(37, 99, 235, 0.12);
  border-bottom-color: var(--blue-500);
}

.day-col-header.today-col .day-col-name {
  color: var(--blue-400);
}

.today-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  background: var(--blue-600);
  color: #fff;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.time-row td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  padding: 0.45rem;
}

.time-slot-cell {
  background: #090d1a !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 0.85rem 0.45rem !important;
  position: sticky;
  left: 0;
  z-index: 5;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.slot-start-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.slot-end-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.night-hour-row {
  background: rgba(0, 0, 0, 0.22);
}

.night-time-cell {
  background: #060913 !important;
}

.night-time-cell .slot-start-time {
  color: #94a3b8;
}

.night-hour-tag {
  display: inline-block;
  font-size: 8.5px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.1rem 0.35rem;
  border-radius: var(--r-sm);
  margin-top: 3px;
}

.calendar-time-quick-jumps {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.jump-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-right: 0.35rem;
}

.jump-title svg {
  color: var(--brand-cyan);
}

.btn-time-jump {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
  text-decoration: none;
  transition: all var(--dur-fast) ease;
  cursor: pointer;
}

.btn-time-jump:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

@keyframes rowFlash {
  0% {
    background: rgba(59, 130, 246, 0.28);
  }

  100% {
    background: rgba(0, 0, 0, 0.22);
  }
}

.row-highlight {
  animation: rowFlash 1.6s ease-out;
}

.calendar-day-slot {
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  min-height: 70px;
  transition: background var(--dur-fast) ease;
}

.calendar-day-slot.today-slot {
  background: rgba(37, 99, 235, 0.02);
}

.calendar-day-slot:hover {
  background: rgba(255, 255, 255, 0.02);
}

.free-slot-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 100%;
  min-height: 52px;
  opacity: 0.15;
  transition: opacity var(--dur-fast) ease;
}

.calendar-day-slot:hover .free-slot-indicator {
  opacity: 0.4;
}

.free-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22c55e;
}

.free-text {
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Booking Chip Card inside Slot */
.cal-booking-chip {
  padding: 0.65rem 0.75rem;
  border-radius: var(--r-md);
  margin-bottom: 0.35rem;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: box-shadow var(--dur-fast) ease;
}

.cal-booking-chip:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.cal-booking-chip.ems-chip {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.35);
}

.cal-booking-chip.gym-chip {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.3);
}

.cal-booking-chip.status-pending {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
}

.chip-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.chip-service-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.ems-chip .chip-service-pill {
  background: rgba(37, 99, 235, 0.4);
  color: #93c5fd;
}

.gym-chip .chip-service-pill {
  background: rgba(14, 165, 233, 0.35);
  color: #7dd3fc;
}

.chip-code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-muted);
}

.chip-client-name {
  font-weight: 600;
  font-size: 12px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip-trainer-name {
  font-size: 11px;
  color: var(--blue-400);
}

.chip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.2rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chip-status-text {
  font-size: 10px;
  font-weight: 500;
}

.chip-status-text.confirmed {
  color: #4ade80;
}

.chip-status-text.pending {
  color: #fbbf24;
}

.chip-status-text.completed {
  color: var(--text-muted);
}

.chip-action-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all var(--dur-fast) ease;
}

.chip-action-btn.done:hover {
  background: #22c55e;
}

/* ══════════════════════════════════════════════
   MOBILE OVERHAUL (< 960px, < 768px, < 640px, < 480px)
══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .booking-page-wrap {
    padding-bottom: 7.5rem;
  }

  .booking-sidebar-col,
  .sticky-sidebar {
    position: static;
    top: auto;
  }

  .booking-summary-card {
    max-height: none;
    overflow-y: visible;
  }

  .mobile-booking-floating-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1.5px solid #e2e8f0;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.1);
  }

  .mobile-bar-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
  }

  .mobile-bar-service {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
  }

  .mobile-bar-sub {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 12px;
  }

  .mobile-bar-price {
    font-family: var(--font-mono);
    font-weight: 800;
    color: var(--blue-600);
  }

  .mobile-bar-dot {
    color: #cbd5e1;
  }

  .mobile-bar-time {
    color: #64748b;
    font-size: 11.5px;
  }

  .mobile-bar-cta {
    padding: 0.65rem 1.25rem !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border-radius: var(--r-full) !important;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .branch-selector-grid {
    grid-template-columns: 1fr;
  }

  .service-selector-grid {
    grid-template-columns: 1fr;
  }

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

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

  .admin-filters-form {
    grid-template-columns: 1fr;
  }

  .calendar-branch-tabs {
    flex-direction: column;
    align-items: flex-start;
  }

  .calendar-toolbar-row {
    flex-direction: column;
    align-items: stretch;
  }

  .calendar-week-nav,
  .calendar-mini-stats {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding-inline: 1rem;
    height: 56px;
  }

  .admin-header-inner {
    padding-inline: 1rem;
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .admin-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .admin-container {
    padding-inline: 1rem;
  }

  .booking-page-wrap {
    padding-top: calc(var(--header-h, 56px) + 1.25rem);
    padding-bottom: 4rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .booking-page-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .booking-page-desc {
    font-size: 13.5px;
  }

  .booking-card {
    --card-pad-x: 1.15rem;
    padding: 1.35rem var(--card-pad-x);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .step-card-header {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .step-card-title {
    font-size: 1.25rem;
  }

  .step-card-sub {
    font-size: 12.5px;
  }
}

@media (max-width: 640px) {
  :root {
    --site-pad: 1rem;
  }

  .container {
    padding-inline: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .booking-card {
    --card-pad-x: 1rem;
    padding: 1.25rem var(--card-pad-x);
    border-radius: var(--r-lg);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hours-selector-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.4rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .slot-btn {
    padding: 0.65rem 0.4rem;
    min-width: 0;
  }

  .slot-time {
    font-size: 13.5px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .admin-page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .admin-title {
    font-size: 1.5rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-control,
  .form-control-sm,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
    /* Prevents auto-zoom on iOS */
    max-width: 100%;
    box-sizing: border-box;
  }

  .quick-login-inputs {
    grid-template-columns: 1fr;
  }

  .booking-user-status {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.85rem;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .user-status-logged,
  .user-status-guest {
    max-width: 100%;
    min-width: 0;
    word-break: break-word;
  }

  .js-toggle-quick-login {
    white-space: normal !important;
    text-align: center;
    max-width: 100%;
  }

  .user-status-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .logged-client-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .trainer-card-opt {
    padding: 0.85rem 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .days-scroll-strip {
    gap: 0.45rem;
    padding-top: 0.25rem;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    margin-left: calc(-1 * var(--card-pad-x, 1rem));
    margin-right: calc(-1 * var(--card-pad-x, 1rem));
    padding-left: var(--card-pad-x, 1rem);
    padding-right: var(--card-pad-x, 1rem);
    width: calc(100% + (var(--card-pad-x, 1rem) * 2));
    max-width: calc(100% + (var(--card-pad-x, 1rem) * 2));
    box-sizing: border-box;
  }

  .day-card-pill {
    min-width: 62px;
    padding: 0.65rem 0.35rem;
  }

  .day-pill-name {
    font-size: 10px;
  }

  .day-pill-num {
    font-size: 16px;
  }

  .day-pill-month {
    font-size: 9.5px;
  }

  .booking-summary-card {
    padding: 1.35rem 1.15rem;
    border-radius: var(--r-lg);
  }

  .btn-submit-booking {
    padding: 16px !important;
    font-size: 15px !important;
  }

  .success-detail-row {
    flex-direction: column;
    gap: 0.35rem;
  }

  .detail-label {
    width: auto;
  }

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

@media (max-width: 480px) {
  .brand-glass-logo {
    padding: 0.35rem 0.85rem;
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .booking-header {
    margin-bottom: 1.5rem;
  }

  .booking-page-title {
    font-size: 1.6rem;
  }

  .branch-card {
    padding: 1rem;
  }

  .service-card {
    padding: 1.15rem 1rem;
  }

  .calendar-week-range {
    font-size: 12px;
    flex-wrap: wrap;
  }

  .btn-week-nav {
    padding: 0.35rem 0.55rem;
    font-size: 11.5px;
  }

  .calendar-mini-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .mini-stat-divider {
    display: none;
  }
}

/* ─── TARIFF & PACKAGE SELECTION IN BOOKING FORM ─── */
.tariff-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .tariff-selector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .tariff-selector-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tariff-card {
  position: relative;
  padding: 1rem 0.95rem;
  border-radius: var(--r-md);
  background: #ffffff;
  border: 1.5px solid var(--border-dim);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--dur-fast) var(--ease-out);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  word-break: break-word;
}

.tariff-card:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}

.tariff-card.active {
  border-color: var(--blue-600);
  background: #eff6ff;
  box-shadow: 0 0 0 1px var(--blue-600), 0 4px 14px rgba(37, 99, 235, 0.15);
}

.tariff-card.credit-card {
  border-color: #86efac;
  background: #f0fdf4;
}

.tariff-card.credit-card:hover {
  border-color: #4ade80;
  background: #dcfce7;
}

.tariff-card.credit-card.active {
  border-color: #16a34a;
  background: #dcfce7;
  box-shadow: 0 0 0 1px #16a34a, 0 4px 14px rgba(22, 163, 74, 0.15);
}

.tariff-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  gap: 0.5rem;
}

.tariff-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-full);
  background: #eff6ff;
  color: var(--blue-700);
  border: 1px solid #bfdbfe;
  letter-spacing: 0.02em;
}

.tariff-badge.credit-badge {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

.tariff-badge.tariff-badge-single {
  background: #f1f5f9;
  color: #475569;
  border-color: #cbd5e1;
}

.tariff-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
}

.tariff-price {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.tariff-price.free {
  color: #16a34a;
}

.tariff-orig-price {
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: line-through;
  opacity: 0.6;
  color: #94a3b8;
}

.tariff-per-entry {
  font-size: 11px;
  color: var(--blue-600);
  font-weight: 600;
}

.tariff-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.tariff-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 0;
  flex: 1;
}

.tariff-meta-tag {
  display: none !important;
}

.mandatory-account-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  margin-bottom: 1rem;
}

.mandatory-account-banner-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 0.2rem;
}

.mandatory-account-banner-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

.credit-isolation-notice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--r-md);
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  margin-top: 0.75rem;
  font-size: 12px;
  color: #475569;
}

/* ══════════════════════════════════════════════
   RED LIGHT THERAPY & MULTI-PAGE SYSTEM
══════════════════════════════════════════════ */
:root {
  --crimson-900: #4c0519;
  --crimson-800: #881337;
  --crimson-700: #be123c;
  --crimson-600: #e11d48;
  --crimson-500: #f43f5e;
  --crimson-400: #fb7185;
  --crimson-300: #fda4af;
  --crimson-glow: rgba(244, 63, 94, 0.32);
}

/* Navigation Ruby Dot */
.nav-link-highlight {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.nav-ruby-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson-400);
  box-shadow: 0 0 8px var(--crimson-400);
  animation: blink-ruby 2.2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes blink-ruby {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

/* Badges */
.badge-crimson {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: var(--crimson-400);
}

.badge-crimson .badge-dot {
  background: var(--crimson-400);
  box-shadow: 0 0 6px var(--crimson-400);
}

.eyebrow-crimson {
  color: var(--crimson-400) !important;
}

.eyebrow-crimson::before {
  background: var(--crimson-600) !important;
}

/* Crimson Button — styled identically to .btn-primary, in red */
.btn-crimson {
  background: #e11d48;
  color: #ffffff !important;
  border: 1px solid #be123c;
  box-shadow: inset 0 1px 0.5px 0 rgba(255, 255, 255, 0.4),
    0 4px 14px -1px rgba(225, 29, 72, 0.4),
    0 1px 2px rgba(0, 0, 0, 0.05);
  transform: none !important;
  transition: all 0.2s ease;
}

.btn-crimson:hover {
  background: #be123c;
  border-color: #9f1239;
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1);
  color: #ffffff !important;
  transform: none !important;
}

.btn-crimson:active {
  background: #9f1239;
  border-color: #881337;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  transform: none !important;
}

/* Editorial Crimson Hero Row */
.feature-row--crimson:hover {
  background: rgba(244, 63, 94, 0.08);
}

.feature-row--crimson .feature-arrow svg {
  stroke: var(--crimson-400);
}

.feature-row--crimson:hover .feature-arrow {
  color: var(--crimson-400);
}

/* Homepage Red Light Section */
.red-light-section {
  position: relative;
  z-index: 2;
}

.rl-highlight-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.rl-visual-card {
  background: #ffffff;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 45px -8px rgba(15, 23, 42, 0.06), 0 0 30px rgba(244, 63, 94, 0.05);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.rl-visual-card:hover {
  border-color: rgba(244, 63, 94, 0.5);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1), 0 0 40px rgba(244, 63, 94, 0.12);
}

.rl-photo-wrap {
  position: relative;
  height: 330px;
  overflow: hidden;
}

.rl-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.rl-visual-card:hover .rl-photo-img {
  transform: scale(1.03);
}

.rl-glow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8) 80%, #ffffff 100%);
  pointer-events: none;
}

.rl-visual-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rl-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.rl-visual-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.rl-visual-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex: 1;
}

.rl-visual-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.rl-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.rl-benefit-card {
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: border-color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.rl-benefit-card:hover {
  border-color: rgba(244, 63, 94, 0.45);
  background: #ffffff;
  box-shadow: 0 18px 40px -8px rgba(225, 29, 72, 0.12);
}

.rl-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: var(--crimson-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.rl-benefit-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}

.rl-benefit-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   SUBPAGE STRUCTURE & HERO
══════════════════════════════════════════════ */
.subpage-hero {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.subpage-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.subpage-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.subpage-breadcrumb a:hover {
  color: var(--blue-400);
}

.subpage-header-wrap {
  max-width: 860px;
}

.subpage-title {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.subpage-lead {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

.subpage-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 3rem;
}

.subpage-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 2.25rem;
  background: #ffffff;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  box-shadow: 0 12px 35px -6px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
}

.metric-item {
  border-right: 1px solid #e2e8f0;
  padding-right: 1.25rem;
}

.metric-item:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.metric-val--blue {
  color: var(--blue-600);
}

.metric-val--crimson {
  color: var(--crimson-600);
}

.metric-lbl {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}

/* Subpage Hero Media Banner */
.subpage-media-hero {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-dim);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.1);
  margin-top: 2.5rem;
  min-height: 380px;
}

.subpage-media-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.subpage-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.75) 100%);
  pointer-events: none;
}

/* Feature 3-col Grid */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.feature-card-premium {
  background: #ffffff;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card-premium:hover {
  border-color: var(--blue-400);
  box-shadow: 0 20px 45px -8px rgba(37, 99, 235, 0.14);
}

.feature-card-premium--crimson:hover {
  border-color: rgba(244, 63, 94, 0.45);
  box-shadow: 0 20px 45px -8px rgba(225, 29, 72, 0.14);
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.feature-icon-box--blue {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--blue-600);
}

.feature-icon-box--crimson {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: var(--crimson-600);
}

.feature-title-premium {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.feature-desc-premium {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.7;
  flex: 1;
}

/* Process Timeline Steps */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.04);
  transition: border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  position: relative;
}

.process-step-card:hover {
  border-color: var(--blue-400);
  box-shadow: 0 20px 45px -8px rgba(37, 99, 235, 0.12);
}

.process-step-card--crimson:hover {
  border-color: rgba(244, 63, 94, 0.45);
  box-shadow: 0 20px 45px -8px rgba(225, 29, 72, 0.12);
}

.step-num-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-600);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.step-num-badge--crimson {
  color: var(--crimson-600);
  background: #fff1f2;
  border-color: #fecdd3;
}

.step-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.step-body {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.7;
}

/* Comparison Table Card */
.spec-box-glass {
  background: #ffffff;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: 0 12px 35px -6px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-name {
  color: #475569;
}

.spec-val {
  color: #0f172a;
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* FAQ Accordion / Cards */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-card {
  background: #ffffff;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.faq-card:hover {
  border-color: var(--blue-400);
  box-shadow: 0 16px 40px -6px rgba(37, 99, 235, 0.12);
}

.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  letter-spacing: -0.01em;
}

.faq-q-icon {
  color: var(--blue-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-q-icon--crimson {
  color: var(--crimson-600);
}

.faq-a {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.7;
}

/* CTA Banner Glass */
.cta-banner-glass {
  padding: 4rem 3rem;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px -10px rgba(37, 99, 235, 0.35);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.cta-banner-glass--crimson {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  box-shadow: 0 24px 60px -10px rgba(225, 29, 72, 0.35);
}

.cta-banner-title {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-banner-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 2.25rem;
}

/* Branch Cards (Location Page) */
.branch-locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.branch-loc-card {
  background: #ffffff;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: 0 12px 35px -6px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  transition: all var(--dur-base) var(--ease-out);
}

.branch-loc-card:hover {
  border-color: var(--blue-500);
  box-shadow: 0 20px 45px -8px rgba(37, 99, 235, 0.15);
}

.branch-city-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.75rem;
}

.branch-loc-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.branch-contact-list {
  list-style: none;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.branch-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 13px;
  color: #475569;
}

.branch-contact-list li svg {
  color: var(--blue-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .rl-highlight-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid-3 {
    grid-template-columns: 1fr;
  }

  .feature-grid-2 {
    grid-template-columns: 1fr;
  }

  .subpage-metrics-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .branch-locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rl-benefits-grid {
    grid-template-columns: 1fr;
  }

  .subpage-metrics-bar {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════
   RED LIGHT THERAPY UPSELL COMPONENT
══════════════════════════════════════════════ */
.red-light-upsell-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.05);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  transition: all var(--dur-normal) var(--ease-out);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.red-light-upsell-card:hover {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.1);
}

.red-light-upsell-card.active {
  border-color: #f43f5e;
  background: #fff1f2;
  box-shadow: 0 0 0 1px #f43f5e, 0 8px 24px rgba(244, 63, 94, 0.12);
}

.red-light-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  cursor: pointer;
  user-select: none;
}

.red-light-header-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.red-light-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: #fee2e2;
  border: 1px solid #fecdd3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e11d48;
  flex-shrink: 0;
  transition: all var(--dur-fast) var(--ease-out);
}

.red-light-upsell-card.active .red-light-icon-wrap {
  background: #f43f5e;
  border-color: #e11d48;
  color: #ffffff;
}

.red-light-title-group {
  flex: 1;
}

.red-light-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.red-light-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e11d48;
  background: #fee2e2;
  border: 1px solid #fecdd3;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.red-light-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
  animation: pulse-dot 2s infinite ease-in-out;
}

.red-light-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.015em;
}

.red-light-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.red-light-toggle-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.red-light-unit-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #e11d48;
  white-space: nowrap;
}

.red-light-unit-price small {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
}

.red-light-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: #cbd5e1;
  border: 1px solid #94a3b8;
  border-radius: var(--r-full);
  transition: all 0.25s ease;
  cursor: pointer;
}

.red-light-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
}

.red-light-upsell-card.active .red-light-switch {
  background: #e11d48;
  border-color: #be123c;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.35);
}

.red-light-upsell-card.active .red-light-switch::after {
  transform: translateX(22px);
}

.red-light-details-panel {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(239, 68, 68, 0.18);
  display: none;
  animation: fadeSlideDown 0.25s ease-out;
}

.red-light-upsell-card.active .red-light-details-panel {
  display: block;
}

.red-light-persons-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--r-lg);
  padding: 0.9rem 1.15rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.red-light-persons-info {
  display: flex;
  flex-direction: column;
}

.red-light-persons-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.red-light-persons-sub {
  font-size: 11.5px;
  color: #64748b;
}

.red-light-counter-widget {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--r-full);
  padding: 3px;
  gap: 0.5rem;
}

.counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: all var(--dur-fast) var(--ease-out);
}

.counter-btn:hover:not(:disabled) {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.counter-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.counter-value-box {
  min-width: 75px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.red-light-rule-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--r-md);
  font-size: 12px;
  color: #9f1239;
  line-height: 1.5;
}

.red-light-rule-banner svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.red-light-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  font-size: 12.5px;
  color: #475569;
}

.red-light-subtotal-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #f87171;
}

@media (max-width: 640px) {
  .red-light-upsell-card {
    padding: 1.15rem 1rem !important;
    border-radius: var(--r-lg) !important;
  }

  .red-light-header-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
  }

  .red-light-header-content {
    width: 100% !important;
    min-width: 0 !important;
  }

  .red-light-toggle-area {
    width: 100% !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 0.75rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .red-light-persons-picker {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 0.85rem !important;
  }

  .red-light-counter-widget {
    justify-content: center !important;
    width: 100% !important;
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

/* ─── HEADER CREDITS PILL ───────────────────────────── */
.header-credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--dur-fast) ease;
  white-space: nowrap;
}

.header-credits-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.header-credits-pill .hcp-icon {
  color: #94a3b8;
  flex-shrink: 0;
  transition: color var(--dur-fast) ease;
}

.header-credits-pill .hcp-sep {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.header-credits-pill .cred-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.header-credits-pill .cred-chip-item.is-zero {
  opacity: 0.5;
}

.header-credits-pill .cred-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.header-credits-pill .dot-ems {
  background: #3b82f6;
  box-shadow: 0 0 5px rgba(59, 130, 246, 0.6);
}

.header-credits-pill .dot-gym {
  background: #10b981;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.6);
}

.header-credits-pill .dot-red {
  background: #f43f5e;
  box-shadow: 0 0 5px rgba(244, 63, 94, 0.6);
}

.header-credits-pill .cred-name {
  font-weight: 500;
  font-size: 10.5px;
  color: inherit;
}

.header-credits-pill .cred-chip-item strong.cred-val {
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.header-credits-pill .cred-chip-item.cred-chip-ems.has-credits strong.cred-val {
  color: #93c5fd;
}

.header-credits-pill .cred-chip-item.cred-chip-gym.has-credits strong.cred-val {
  color: #86efac;
}

.header-credits-pill .cred-chip-item.cred-chip-red.has-credits strong.cred-val {
  color: #fda4af;
}

/* ─── SHELLY ACTIVATION CARD & COUNTDOWN ─────────────── */
.shelly-active-beacon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.18);
  border: 2px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.45);
  margin: 0 auto 1.25rem;
}

.shelly-beacon-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(239, 68, 68, 0.4);
  animation: pulse-beacon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-beacon {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.2;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.rl-timer-display {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #f87171;
  text-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.rl-progress-track {
  width: 100%;
  max-width: 380px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto 1.5rem;
}

.rl-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f87171, #ef4444);
  border-radius: 3px;
  transition: width 1s linear;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
}

/* ─── PAYMENT METHODS SELECTOR ───────────────────────── */
.payment-method-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 860px) {
  .payment-method-selector-grid {
    grid-template-columns: 1fr;
  }
}

.payment-method-card {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: #ffffff;
  border: 1.5px solid var(--border-dim);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--dur-fast) var(--ease-out);
}

.payment-method-card:hover:not(.disabled) {
  border-color: #93c5fd;
  background: #f8fafc;
}

.payment-method-card.active {
  border-color: var(--blue-600) !important;
  background: #eff6ff !important;
  box-shadow: 0 0 0 1px var(--blue-600), 0 4px 14px rgba(37, 99, 235, 0.15) !important;
}

.payment-method-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.6);
  background: #f8fafc;
}

.pm-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.pm-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
}

.payment-method-card.active .pm-icon-wrap {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.pm-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem 0;
}

.pm-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

/* ══════════════════════════════════════════════
   PWA SMART APP BANNER (iOS APPLE STYLE)
══════════════════════════════════════════════ */
:root {
  --banner-h: 0px;
}

body.has-pwa-banner {
  --banner-h: 58px;
  padding-top: var(--banner-h);
}

body.has-pwa-banner .site-header {
  top: var(--banner-h);
  transition: top 0.28s ease;
}

.pwa-smart-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-body);
  display: flex;
  align-items: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.pwa-smart-banner.closing {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.smart-banner-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-sizing: border-box;
}

.smart-banner-close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.smart-banner-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.smart-banner-icon-wrap {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.smart-banner-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  display: block;
}

.smart-banner-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}

.smart-banner-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smart-banner-sub {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smart-banner-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1px;
}

.sb-stars {
  font-size: 9px;
  color: #f59e0b;
  letter-spacing: 0.5px;
}

.sb-tag {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.smart-banner-action-btn {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.smart-banner-action-btn:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #ffffff;
}

/* Hide on desktop devices */
@media (min-width: 769px) {
  .pwa-smart-banner {
    display: none !important;
  }

  body.has-pwa-banner {
    --banner-h: 0px !important;
    padding-top: 0 !important;
  }

  body.has-pwa-banner .site-header {
    top: 0 !important;
  }
}

/* iOS Guidance Action Sheet */
.pwa-ios-sheet {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pwa-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: pwaFadeIn 0.25s ease-out;
}

.pwa-sheet-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 1.25rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.15);
  animation: pwaSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.pwa-sheet-handle {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: #cbd5e1;
  margin: 0 auto 1.25rem;
}

.pwa-sheet-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pwa-sheet-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.pwa-sheet-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.2rem 0;
}

.pwa-sheet-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.pwa-sheet-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-lg);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.5rem;
}

.pwa-sheet-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 13.5px;
  color: #0f172a;
}

.pwa-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-step-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.ios-share-icon,
.ios-add-icon {
  color: var(--blue-600);
  display: inline-block;
  vertical-align: middle;
}

.pwa-sheet-done-btn {
  width: 100%;
  padding: 13px !important;
  font-size: 14px !important;
  font-weight: 700;
  border-radius: var(--r-md);
  justify-content: center;
}

@keyframes pwaFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pwaSlideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════
   NAV — segmented pill track (same as admin navigation)
══════════════════════════════════════════════ */
.nav-links {
  gap: 2px;
  padding: 3px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: background .3s ease, border-color .3s ease;
}

.nav-links a {
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  border: 0;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

.nav-links a.active,
.nav-links a.active:hover {
  color: #0b1220;
  font-weight: 600;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.18), 0 0 0 1px rgba(16, 24, 40, 0.04);
}

.nav-links a.nav-link-highlight.active {
  background: #fff;
  color: #be123c;
}

.site-header.scrolled .nav-links {
  background: #f1f4f8;
  border-color: #e3e7ee;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.04);
}

.site-header.scrolled .nav-links a {
  color: #667085;
}

.site-header.scrolled .nav-links a:hover {
  color: #0b1220;
  background: transparent;
}

.site-header.scrolled .nav-links a.active,
.site-header.scrolled .nav-links a.active:hover {
  color: #0b1220;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.10), 0 0 0 1px rgba(16, 24, 40, 0.03) !important;
}

.site-header.scrolled .nav-links a.nav-link-highlight.active {
  color: #be123c;
}