/* ============================================================================
   FitDirectory — LIGHT SaaS DESIGN
   Premium Fitness Directory / White Background / Red & Black Accents
   Linear.app-inspired minimalism with premium polish
   ============================================================================ */

/* ─── CSS VARIABLES ─── */
:root {
  --red: #e11d48;
  --red-dark: #be123c;
  --red-light: #fff1f2;
  --red-glow: rgba(225, 29, 72, 0.2);

  --black: #0f172a;
  --black-soft: #1e293b;

  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;

  --white: #ffffff;
  --green: #16a34a;
  --yellow: #eab308;
  --blue: #3b82f6;
  --accent: #6366f1;
  --accent-dark: #4f46e5;
  --accent-light: #eef2ff;
  --accent-glow: rgba(99, 102, 241, 0.25);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px var(--red-glow);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
}

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

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

a:hover {
  color: var(--red-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  font-weight: 900;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 16px;
}

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

/* ─── CONTAINER ─── */
.fd-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .fd-container {
    padding: 0 32px;
  }
}

/* ─── GRID ─── */
.fd-grid {
  display: grid;
  gap: 24px;
}

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

.fd-grid--3 {
  grid-template-columns: 1fr;
}

.fd-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .fd-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (min-width: 1024px) {
  .fd-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .fd-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Center orphan grid items (last row) */
.fd-grid--center {
  justify-items: center;
}

@media (min-width: 1024px) {
  .fd-grid--center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .fd-grid--center > * {
    width: calc(33.333% - 16px);
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .fd-grid--center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .fd-grid--center > * {
    width: calc(50% - 12px);
  }
}

/* ─── PROSE ─── */
.fd-prose {
  color: var(--gray-600);
  line-height: 1.8;
}

.fd-prose p {
  margin-bottom: 20px;
}

.fd-prose strong {
  color: var(--gray-900);
}

.fd-prose ul,
.fd-prose ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.fd-prose li {
  margin-bottom: 8px;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.fd-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.fd-btn:hover::before {
  opacity: 1;
}

/* Primary button */
.fd-btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

.fd-btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Outline button */
.fd-btn--outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.fd-btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* Ghost button */
.fd-btn--ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: transparent;
}

.fd-btn--ghost:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

/* Accent (indigo) button */
.fd-btn--accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
}
.fd-btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 8px 24px var(--accent-glow);
  transform: translateY(-2px);
}

/* Dark button */
.fd-btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.fd-btn--dark:hover {
  background: var(--gray-800);
  border-color: var(--gray-800);
  transform: translateY(-2px);
}

/* Sizes */
.fd-btn--sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

.fd-btn--lg {
  padding: 16px 40px;
  font-size: 1.0625rem;
}

.fd-btn--full {
  width: 100%;
}

.fd-btn--disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================================
   BADGES
   ============================================================================ */
.fd-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--red-light);
  color: var(--red);
  letter-spacing: 0.02em;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.fd-badge--sm {
  padding: 2px 8px;
  font-size: 0.6875rem;
}

.fd-badge--lg {
  padding: 6px 16px;
  font-size: 0.875rem;
}

.fd-badge--green {
  background: rgba(22, 163, 74, 0.1);
  color: var(--green);
  border-color: rgba(22, 163, 74, 0.2);
}

.fd-badge--yellow {
  background: rgba(234, 179, 8, 0.1);
  color: var(--yellow);
  border-color: rgba(234, 179, 8, 0.2);
}

/* ============================================================================
   FORMS
   ============================================================================ */
.fd-form {
  width: 100%;
}

.fd-form__group {
  margin-bottom: 20px;
}

.fd-form__group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.fd-form__group label small {
  color: var(--gray-500);
  font-weight: 400;
}

.fd-form__group input[type="text"],
.fd-form__group input[type="email"],
.fd-form__group input[type="password"],
.fd-form__group input[type="tel"],
.fd-form__group input[type="url"],
.fd-form__group input[type="number"],
.fd-form__group input[type="time"],
.fd-form__group input[type="date"],
.fd-form__group textarea,
.fd-form__group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
}

.fd-form__group input:focus,
.fd-form__group textarea:focus,
.fd-form__group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-light);
}

.fd-form__group textarea {
  min-height: 120px;
  resize: vertical;
}

.fd-form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.fd-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .fd-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.fd-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-600);
  cursor: pointer;
  margin-bottom: 12px;
}

.fd-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  cursor: pointer;
}

/* ============================================================================
   ALERTS
   ============================================================================ */
.fd-alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
  border-left: 4px solid;
  animation: fdSlideDown 0.3s ease-out;
}

.fd-alert--success {
  background: rgba(22, 163, 74, 0.08);
  border-left-color: var(--green);
  color: var(--green);
}

.fd-alert--error {
  background: rgba(225, 29, 72, 0.08);
  border-left-color: var(--red);
  color: var(--red);
}

.fd-alert--info {
  background: rgba(59, 130, 246, 0.08);
  border-left-color: var(--blue);
  color: var(--blue);
}

.fd-alert--warning {
  background: rgba(234, 179, 8, 0.08);
  border-left-color: var(--yellow);
  color: var(--yellow);
}

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

/* ============================================================================
   HEADER
   ============================================================================ */
.fd-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #ffffff;
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.fd-header.scrolled {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.fd-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
}

@media (min-width: 768px) {
  .fd-header__inner {
    padding: 0 32px;
  }
}

.fd-header__brand {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.fd-header__brand em {
  color: var(--red);
  font-style: normal;
}

/* Navigation */
.fd-header__nav {
  display: none;
  align-items: center;
  gap: 8px;
}

.fd-header__nav a {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.fd-header__nav a:hover {
  color: var(--gray-900);
  background: var(--gray-50);
}

/* Ensure buttons in nav keep their own colors */
.fd-header__nav .fd-btn--primary {
  color: var(--white);
  background: var(--red);
}

.fd-header__nav .fd-btn--primary:hover {
  color: var(--white);
  background: var(--red-dark);
}

.fd-header__nav .fd-btn--accent {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.fd-header__nav .fd-btn--accent:hover {
  color: var(--white);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Hamburger toggle — base (mobile) */
.fd-header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 201;
}

.fd-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1), opacity 0.25s ease;
}

.fd-header__toggle span:nth-child(1) { transform: translateY(-7px); }
.fd-header__toggle span:nth-child(2) { transform: translateY(0); }
.fd-header__toggle span:nth-child(3) { transform: translateY(7px); }

/* Hamburger → X animation */
.fd-header__toggle.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}
.fd-header__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.fd-header__toggle.active span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* Mobile nav overlay — fullscreen slide-in from right */
@media (max-width: 767px) {
  .fd-header__nav {
    position: fixed;
    top: 80px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 32px 24px 40px;
    gap: 4px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    display: flex !important;
    /* Closing animation: slide out + delay visibility until slide finishes */
    transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1),
                visibility 0s linear 0.4s;
  }

  .fd-header__nav.active {
    transform: translateX(0);
    visibility: visible;
    /* Opening: visibility immediately, slide in */
    transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1),
                visibility 0s linear 0s;
  }

  /* Backdrop overlay — starts below header */
  .fd-mobile-backdrop {
    position: fixed;
    top: 80px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 199;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Closing: smooth fade out, then hide */
    transition: opacity 0.4s ease,
                visibility 0s linear 0.4s;
  }
  .fd-mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Opening: immediately visible, fade in */
    transition: opacity 0.4s ease,
                visibility 0s linear 0s;
  }

  /* Nav links styling in mobile */
  .fd-header__nav a {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    padding: 14px 16px;
    border-radius: var(--radius);
    display: block;
    text-decoration: none;
  }
  .fd-header__nav a:hover,
  .fd-header__nav a:focus {
    color: var(--red);
    background: var(--gray-50);
  }

  /* Stagger animation for links — opening */
  .fd-header__nav a {
    opacity: 0;
    transform: translateX(30px);
    /* Closing: quick fade, no delay */
    transition: transform 0.25s ease,
                opacity 0.2s ease,
                color 0.2s ease,
                background 0.2s ease;
  }
  .fd-header__nav.active a {
    opacity: 1;
    transform: translateX(0);
    /* Opening: smooth in with stagger */
    transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1),
                opacity 0.35s ease,
                color 0.2s ease,
                background 0.2s ease;
  }
  .fd-header__nav.active a:nth-child(1) { transition-delay: 0.06s; }
  .fd-header__nav.active a:nth-child(2) { transition-delay: 0.10s; }
  .fd-header__nav.active a:nth-child(3) { transition-delay: 0.14s; }
  .fd-header__nav.active a:nth-child(4) { transition-delay: 0.18s; }
  .fd-header__nav.active a:nth-child(5) { transition-delay: 0.22s; }
  .fd-header__nav.active a:nth-child(6) { transition-delay: 0.26s; }
  .fd-header__nav.active a:nth-child(7) { transition-delay: 0.30s; }
  .fd-header__nav.active a:nth-child(8) { transition-delay: 0.34s; }

  /* Separator before buttons */
  .fd-header__nav .fd-btn:first-of-type {
    margin-top: 16px;
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
    border-radius: 0;
  }
  .fd-header__nav .fd-btn {
    text-align: center;
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: var(--radius);
  }
  .fd-header__nav .fd-btn--primary {
    margin-top: 8px;
    border-top: none;
    border-radius: var(--radius-full);
  }

  /* Body scroll lock when menu open */
  body.fd-menu-open {
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .fd-header__nav {
    display: flex;
  }

  .fd-header__toggle {
    display: none !important;
  }

  .fd-mobile-backdrop {
    display: none !important;
  }
}

/* ============================================================================
   HERO
   ============================================================================ */
.fd-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  background: var(--gray-900);
  color: var(--white);
}

/* Video background */
.fd-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.fd-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.1);
}
.fd-hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.5) 40%, rgba(225,29,72,0.15) 100%),
    radial-gradient(ellipse at 30% 80%, rgba(225,29,72,0.2) 0%, transparent 60%);
}

.fd-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(225,29,72,0.25) 0%, transparent 70%);
  opacity: 0.5;
  animation: fdPulse 6s ease-in-out infinite;
  z-index: 2;
}

.fd-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, transparent 70%);
  animation: fdPulse 8s ease-in-out infinite reverse;
  z-index: 2;
}

@keyframes fdPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

.fd-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 820px;
  animation: fdFadeUp 0.8s ease both;
}
@keyframes fdFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fd-hero__content h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.fd-hero__content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ff4066, #e11d48, #f43f5e, #ff6b8a);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fdGradientShift 4s ease infinite;
}
@keyframes fdGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.fd-hero__sub {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.fd-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(225, 29, 72, 0.15);
  color: #ff6b8a;
  border: 1px solid rgba(225, 29, 72, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
  animation: fdFadeUp 0.8s ease 0.2s both;
}
.fd-hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e11d48;
  animation: fdBadgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(225,29,72,0.6);
}
@keyframes fdBadgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* Hero search tabs */
.fd-hero__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 20px;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 4px;
  backdrop-filter: blur(12px);
  animation: fdFadeUp 0.8s ease 0.35s both;
}

.fd-hero__tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.fd-hero__tab:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

.fd-hero__tab--active {
  color: #fff;
  background: rgba(225, 29, 72, 0.85);
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.3);
}

.fd-hero__tab--active:hover {
  color: #fff;
  background: rgba(225, 29, 72, 0.95);
}

.fd-hero__tab svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .fd-hero__tabs {
    max-width: 100%;
  }
  .fd-hero__tab {
    padding: 10px 14px;
    font-size: 0.8rem;
    gap: 5px;
  }
  .fd-hero__tab svg {
    width: 15px;
    height: 15px;
  }
}

/* Hero search — glass morphism */
.fd-hero__search {
  max-width: 680px;
  margin: 0 auto;
  animation: fdFadeUp 0.8s ease 0.4s both;
}
.fd-hero__search--no-anim {
  animation: none !important;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.fd-hero__search--hidden {
  display: none !important;
}

.fd-hero__search-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.fd-hero__search-inner:focus-within {
  border-color: rgba(225,29,72,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 4px rgba(225,29,72,0.1);
  background: rgba(255, 255, 255, 0.1);
}

.fd-hero__input,
.fd-hero__select {
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: none;
  border-radius: 12px;
  color: var(--white);
  font-size: 0.9375rem;
  font-family: var(--font);
  outline: none;
  transition: background 0.2s;
}
.fd-hero__input:focus,
.fd-hero__select:focus { background: rgba(15, 23, 42, 0.8); }

.fd-hero__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.fd-hero__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.fd-hero__search-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(225,29,72,0.3);
}

/* Quick category links */
.fd-hero__quick-cats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  animation: fdFadeUp 0.8s ease 0.6s both;
}
.fd-hero__quick-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  margin-right: 4px;
}
.fd-hero__quick-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.fd-hero__quick-link:hover {
  color: #fff;
  background: rgba(225,29,72,0.2);
  border-color: rgba(225,29,72,0.4);
  transform: translateY(-1px);
}

@media (min-width: 640px) {
  .fd-hero__search-inner {
    flex-direction: row;
    align-items: center;
    padding: 8px;
    border-radius: 16px;
  }
  .fd-hero__input { flex: 1; }
  .fd-hero__select { width: 200px; }
  .fd-hero__search-btn { border-radius: 12px !important; }
}

/* ============================================================================
   SECTIONS
   ============================================================================ */
.fd-section {
  padding: 96px 0;
  position: relative;
  background: var(--white);
}

.fd-section--alt {
  background: var(--gray-50);
}

.fd-section--dark {
  background: var(--gray-900);
  color: var(--white);
}

.fd-section__header {
  text-align: center;
  margin-bottom: 56px;
}

.fd-section__header h2 {
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.fd-section__header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.fd-section__header p {
  color: var(--gray-500);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto;
  margin-top: 28px;
}

.fd-section__cta {
  text-align: center;
  margin-top: 48px;
}

.fd-section__note {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
}

/* ============================================================================
   GYM CARDS
   ============================================================================ */
.fd-gym-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.fd-gym-card:hover {
  border-color: var(--red);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(225,29,72,0.1);
}

.fd-gym-card__img-wrap {
  display: block;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.fd-gym-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.fd-gym-card:hover .fd-gym-card__img-wrap img {
  transform: scale(1.08);
}

.fd-gym-card__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, var(--white));
}

.fd-gym-card__body {
  padding: 24px;
}

.fd-gym-card__top {
  margin-bottom: 12px;
}

.fd-gym-card__title {
  font-size: 1.125rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gray-900);
}

.fd-gym-card__title a {
  color: var(--gray-900);
}

.fd-gym-card__title a:hover {
  color: var(--red);
}

.fd-gym-card__desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 12px;
  line-height: 1.5;
}

.fd-gym-card__address {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.fd-gym-card__address::before {
  content: '📍 ';
}

.fd-gym-card__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.fd-gym-card__btn {
  margin-top: 8px;
}

/* ============================================================================
   CATEGORY CARDS
   ============================================================================ */
.fd-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.fd-category-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fd-category-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--red-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.fd-category-card:hover .fd-category-card__icon {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 20px var(--red-glow);
}

.fd-category-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.fd-category-card__count {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

/* ─── NEW CATEGORY GRID (color-coded) ─── */
.fd-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.fd-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  text-align: center;
  transition: all 0.25s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.fd-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cat-color, var(--red));
  opacity: 0;
  transition: opacity 0.25s;
}
.fd-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--cat-color, var(--red));
}
.fd-cat-card:hover::before { opacity: 1; }

.fd-cat-card__icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--cat-color, var(--red)) 10%, transparent);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: all 0.25s;
}
.fd-cat-card:hover .fd-cat-card__icon {
  background: var(--cat-color, var(--red));
  transform: scale(1.1);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--cat-color, var(--red)) 30%, transparent);
}

.fd-cat-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 4px;
}
.fd-cat-card__count {
  font-size: 0.75rem;
  color: var(--gray-500);
}

@media (max-width: 480px) {
  .fd-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .fd-cat-card { padding: 20px 8px 16px; }
  .fd-cat-card__icon { width: 44px; height: 44px; font-size: 1.5rem; }
  .fd-cat-card__name { font-size: 0.75rem; }
}

/* ============================================================================
   CITY CARDS — "Szukaj w swoim miescie" (photo cards grid)
   ============================================================================ */
.fd-city-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fd-city-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  min-height: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fd-city-card--lg {
  min-height: 220px;
}
.fd-city-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.fd-city-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-300);
  transition: transform 0.4s ease;
}
.fd-city-card:hover .fd-city-card__bg {
  transform: scale(1.06);
}
.fd-city-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.02) 100%);
  transition: background 0.3s;
}
.fd-city-card:hover .fd-city-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.05) 100%);
}
.fd-city-card__content {
  position: relative;
  z-index: 1;
  padding: 20px;
  width: 100%;
}
.fd-city-card__name {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 4px;
  line-height: 1.2;
}
.fd-city-card--lg .fd-city-card__name {
  font-size: 1.5rem;
}
.fd-city-card__count {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}
.fd-city-card__links {
  display: flex;
  gap: 8px;
}
.fd-city-card__links span {
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.18);
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.fd-city-card:hover .fd-city-card__links span {
  background: rgba(225,29,72,0.7);
}

@media (max-width: 1024px) {
  .fd-city-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .fd-city-card--lg {
    min-height: 200px;
  }
}
@media (max-width: 768px) {
  .fd-city-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .fd-city-card {
    min-height: 150px;
  }
  .fd-city-card--lg {
    min-height: 170px;
  }
  .fd-city-card__name {
    font-size: 1.05rem;
  }
  .fd-city-card--lg .fd-city-card__name {
    font-size: 1.15rem;
  }
  .fd-city-card__content {
    padding: 14px;
  }
  .fd-city-card__links span {
    font-size: 0.6rem;
    padding: 2px 8px;
  }
}

/* ─── Category pills (reused from city links) ─── */
.fd-city-links__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 16px;
}
.fd-city-links__title svg {
  flex-shrink: 0;
  color: var(--red);
}
.fd-city-links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fd-city-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  background: #fff;
  border: 1px solid var(--gray-200);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.fd-city-link:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.12);
}

/* ─── Trainer grid variant for homepage ─── */
.fd-trainer-grid--home {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .fd-trainer-grid--home {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .fd-trainer-grid--home {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.fd-cta-section {
  padding: 100px 0;
}

.fd-cta-box {
  background: linear-gradient(135deg, #be123c, var(--red), #f43f5e);
  background-size: 200% 200%;
  animation: fdGradientBg 6s ease infinite;
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(225,29,72,0.25);
}
@keyframes fdGradientBg {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.fd-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent);
  animation: fdPulse 5s ease-in-out infinite;
  z-index: 0;
}
.fd-cta-box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,0,0,0.1), transparent);
  z-index: 0;
}

.fd-cta-box h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  color: var(--white);
}

.fd-cta-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.fd-cta-box__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.fd-cta-box__btn-primary {
  background: var(--white) !important;
  color: var(--red) !important;
  border-color: var(--white) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.fd-cta-box__btn-primary:hover {
  background: var(--gray-50) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.fd-cta-box__btn-secondary {
  background: transparent !important;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.6) !important;
  backdrop-filter: blur(4px);
  font-weight: 600 !important;
}
.fd-cta-box__btn-secondary:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: var(--white) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ============================================================================
   STATS
   ============================================================================ */
.fd-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.fd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 40px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  min-width: 160px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.fd-stat:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fd-stat__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.fd-stat__label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================================
   PAGE HEADER
   ============================================================================ */
.fd-page-header {
  padding: 48px 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}

.fd-page-header h1 {
  position: relative;
  margin-bottom: 8px;
}

.fd-page-header p {
  position: relative;
  color: var(--gray-600);
  font-size: 1.0625rem;
}

/* ============================================================================
   DIRECTORY LAYOUT (FILTERS ON TOP)
   ============================================================================ */
.fd-directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.fd-directory__filters {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}
.fd-directory__filters-close {
  display: none; /* shown on mobile */
}

/* Filter form layout */
.fd-directory__filters-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fd-directory__filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.fd-filter-group--search { flex: 2; }

/* Filter sections (cards, amenities) */
.fd-directory__filter-section {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.fd-directory__filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-right: 4px;
  white-space: nowrap;
}
.fd-directory__filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Filter chips */
.fd-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.fd-filter-chip input[type="checkbox"] {
  display: none;
}
.fd-filter-chip:hover {
  border-color: var(--red);
  color: var(--red);
}
.fd-filter-chip--active,
.fd-filter-chip--active:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.fd-filter-chip--highlight {
  font-weight: 600;
}

/* Filters footer row */
.fd-directory__filters-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.fd-directory__filters-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Mobile filter toggle button */
.fd-directory__filter-toggle {
  display: none; /* shown on mobile */
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.fd-directory__filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Mobile filter overlay */
.fd-directory__filters-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}
.fd-directory__filters-overlay--visible {
  display: block;
}

.fd-directory__filters-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

/* ─── DIRECTORY FILTERS: MOBILE (slide-up popup) ─── */
@media (max-width: 768px) {
  .fd-directory__filter-toggle {
    display: -webkit-flex;
    display: flex;
  }
  .fd-directory__filters {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 999;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 20px 28px;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: transform 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    -moz-transition: transform 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    transition: transform 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
    will-change: transform;
  }
  .fd-directory__filters--open {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  .fd-directory__filters-close {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 0;
    line-height: 1;
    color: var(--gray-600);
    cursor: pointer;
    z-index: 2;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  .fd-directory__filters-close::before {
    content: '\00D7';
    font-size: 1.4rem;
    line-height: 1;
    display: block;
  }
  .fd-directory__filters-close:hover,
  .fd-directory__filters-close:active {
    background: var(--gray-200);
  }
  .fd-directory__filters-row {
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 12px;
  }
  .fd-filter-group {
    width: 100%;
    min-width: 0;
    flex: none;
  }
  .fd-filter-group--search {
    flex: none;
    width: 100%;
  }
  .fd-filter-group input[type="text"],
  .fd-filter-group select {
    width: 100%;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 16px; /* prevents iOS zoom on focus */
    border-radius: var(--radius);
  }
  .fd-filter-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    background-color: var(--white);
  }
  .fd-directory__filter-section {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }
  .fd-directory__filters-footer {
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 12px;
  }
  .fd-directory__filters-actions {
    width: 100%;
  }
  .fd-directory__filters-actions .fd-btn {
    -webkit-flex: 1;
    flex: 1;
    -webkit-justify-content: center;
    justify-content: center;
  }
}

.fd-directory__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.fd-directory__view-toggle {
  display: flex;
  gap: 4px;
}

.fd-directory__view-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-400);
  transition: all var(--transition);
}

.fd-directory__view-btn:hover {
  border-color: var(--gray-400);
  color: var(--gray-600);
}

.fd-directory__view-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.fd-directory__results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.fd-directory__results.view-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (min-width: 768px) {
  .fd-directory__results.view-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .fd-directory__results.view-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fd-directory__results.view-list {
  grid-template-columns: 1fr;
}

.fd-gym-card--list {
  display: flex;
  gap: 20px;
}

.fd-gym-card--list .fd-gym-card__img-wrap {
  flex-shrink: 0;
  width: 240px;
  height: 160px;
}

.fd-gym-card--list .fd-gym-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ============================================================================
   PAGINATION
   ============================================================================ */
.fd-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 56px;
  margin-bottom: 80px;
}

.fd-pagination__link,
.fd-pagination__item {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.fd-pagination__link:hover,
.fd-pagination__item:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.1);
}

.fd-pagination__link.active,
.fd-pagination__item--active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.3);
  pointer-events: none;
}
.fd-pagination__item--active:hover {
  color: var(--white);
  background: var(--red);
  transform: none;
}

/* ============================================================================
   EMPTY STATE
   ============================================================================ */
.fd-empty-state,
.fd-empty {
  text-align: center;
  padding: 64px 24px 80px;
  color: var(--gray-500);
}

.fd-empty-state h3 {
  margin-bottom: 8px;
  color: var(--gray-700);
}

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */
.fd-contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.fd-contact-form-wrap {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px;
}

.fd-contact-form .fd-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fd-contact-form .fd-form__group {
  margin-bottom: 20px;
}

.fd-contact-form .fd-form__group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.fd-contact-form .fd-form__group input,
.fd-contact-form .fd-form__group select,
.fd-contact-form .fd-form__group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fd-contact-form .fd-form__group input:focus,
.fd-contact-form .fd-form__group select:focus,
.fd-contact-form .fd-form__group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.fd-contact-form .fd-form__group textarea {
  resize: vertical;
  min-height: 120px;
}

.fd-contact-form .fd-btn--lg {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
}

/* Contact sidebar */
.fd-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fd-contact-info__card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
}

.fd-contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--primary);
}

.fd-contact-info__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.fd-contact-info__card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

.fd-contact-info__card p a {
  color: var(--primary);
  text-decoration: none;
}

.fd-contact-info__card p a:hover {
  text-decoration: underline;
}

.fd-contact-info__card--cta {
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  border: none;
  color: #fff;
}

.fd-contact-info__card--cta h3 {
  color: #fff;
}

.fd-contact-info__card--cta p {
  color: var(--gray-300);
  margin-bottom: 16px;
}

/* Alerts */
.fd-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.fd-alert svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.fd-alert--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.fd-alert--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.fd-alert--info {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e40af;
}

.fd-alert strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.fd-alert p {
  margin: 0;
}

/* reCAPTCHA wrapper */
.fd-recaptcha-wrap {
  margin: 16px 0;
}

@media (max-width: 900px) {
  .fd-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fd-contact-form-wrap {
    padding: 28px 20px;
  }
}

@media (max-width: 640px) {
  .fd-contact-form .fd-form__row--2 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   SINGLE GYM HEADER
   ============================================================================ */
.fd-gym-header {
  min-height: 380px;
  background: var(--gray-900);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.fd-gym-header::before {
  content: '';
  position: absolute; inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.7);
  transform: scale(1.05);
  z-index: 0;
}

.fd-gym-header__overlay {
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 48px 0;
  background:
    linear-gradient(to top, var(--gray-900) 0%, rgba(15,23,42,0.85) 40%, rgba(15,23,42,0.3) 100%),
    radial-gradient(ellipse at 20% 100%, rgba(225,29,72,0.1) 0%, transparent 60%);
  position: relative;
  z-index: 1;
}

.fd-gym-header__content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.fd-gym-header__logo {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.15);
  background: var(--gray-800);
}

.fd-gym-header__content h1 {
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
}

.fd-gym-header__location {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.fd-gym-header__desc {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

/* ============================================================================
   GYM NAVIGATION (TABS)
   ============================================================================ */
.fd-gym-nav {
  position: sticky;
  top: 80px;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.fd-gym-nav__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
  max-width: 1280px;
  margin: 0 auto;
}

.fd-gym-nav__inner::-webkit-scrollbar {
  display: none;
}

.fd-gym-nav__link {
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  position: relative;
  border-bottom: 2px solid transparent;
}

.fd-gym-nav__link:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.fd-gym-nav__link.active {
  background: var(--red);
  color: #fff;
  border-bottom-color: transparent;
}

/* ============================================================================
   GYM LAYOUT (MAIN + SIDEBAR)
   ============================================================================ */
.fd-gym-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px 0 80px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .fd-gym-layout {
    grid-template-columns: 1fr 360px;
  }
}

/* ============================================================================
   GYM SECTIONS
   ============================================================================ */
.fd-gym-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gray-200);
}

.fd-gym-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.fd-gym-section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-900);
}

.fd-gym-section h2::before {
  content: '';
  width: 4px;
  height: 28px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.fd-gym-section h3 {
  font-size: 1.0625rem;
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--gray-900);
}

/* ============================================================================
   TABLES
   ============================================================================ */
.fd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fd-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--gray-50);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--gray-200);
}

.fd-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.fd-table tr:hover td {
  background: var(--gray-50);
}

.fd-table td strong {
  color: var(--gray-900);
}

.fd-table td small {
  color: var(--gray-500);
}

/* ============================================================================
   AMENITIES
   ============================================================================ */
.fd-amenities {
  margin-top: 32px;
}

.fd-amenities h3 {
  margin-bottom: 16px;
  color: var(--gray-900);
}

.fd-amenities__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fd-amenity-tag {
  padding: 8px 18px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}

.fd-amenity-tag:hover {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}

/* ============================================================================
   ACCEPTED CARDS
   ============================================================================ */
.fd-cards-accepted {
  margin-top: 32px;
}

.fd-cards-accepted__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================================
   GALLERY
   ============================================================================ */
.fd-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .fd-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fd-gallery__item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--gray-200);
  cursor: pointer;
}

.fd-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.fd-gallery__item:hover img {
  transform: scale(1.1);
}

.fd-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity var(--transition);
}

.fd-gallery__item:hover::after {
  opacity: 1;
}

/* ============================================================================
   TRAINERS
   ============================================================================ */
.fd-trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.fd-trainer-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.fd-trainer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(135deg, var(--gray-900) 0%, #1e293b 100%);
  z-index: 0;
}

.fd-trainer-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.fd-trainer-card__photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
}

.fd-trainer-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.fd-trainer-card__spec {
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.fd-trainer-card__bio {
  color: var(--gray-600);
  font-size: 0.8125rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.fd-trainer-card__contact {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

/* ============================================================================
   PRICING
   ============================================================================ */
/* ── Public Pricing: Filters ── */
.fd-prc-pub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.fd-prc-pub-filter {
  padding: 8px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.fd-prc-pub-filter:hover {
  border-color: var(--gray-400);
  color: var(--gray-900);
}
.fd-prc-pub-filter.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ── Public Pricing: Grid ── */
.fd-prc-pub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .fd-prc-pub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .fd-prc-pub-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Public Pricing: Card ── */
.fd-pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 0;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fd-pricing-card::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--plan-color, var(--red));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.fd-pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.fd-pricing-card--featured {
  border-color: var(--plan-color, var(--red));
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transform: scale(1.03);
  z-index: 2;
}
.fd-pricing-card--featured::before {
  height: 6px;
}
.fd-pricing-card--featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.fd-pricing-card__badge {
  position: absolute;
  top: 10px;
  right: -6px;
  padding: 4px 16px 4px 12px;
  background: var(--plan-color, var(--red));
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
}

.fd-pricing-card__header {
  padding: 28px 24px 0;
}
.fd-pricing-card__header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--gray-900);
}
.fd-pricing-card__target {
  display: inline-block;
  padding: 2px 10px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fd-pricing-card__price {
  padding: 16px 24px 8px;
}
.fd-pricing-card__amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.fd-pricing-card__amount-old {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-400);
  text-decoration: line-through;
  display: block;
  margin-bottom: 4px;
}
.fd-pricing-card__period {
  display: block;
  color: var(--gray-500);
  font-size: 0.8125rem;
  margin-top: 4px;
}
.fd-pricing-card__desc {
  padding: 0 24px;
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 8px 0 0;
}

.fd-pricing-card__features {
  list-style: none;
  padding: 16px 24px 0;
  margin: 0;
  text-align: left;
  flex-grow: 1;
}
.fd-pricing-card__features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
  font-size: 0.8125rem;
}
.fd-pricing-card__features li:last-child {
  border-bottom: none;
}
.fd-pricing-card__li--yes::before {
  content: '✓ ';
  color: #16a34a;
  font-weight: 700;
  margin-right: 8px;
}
.fd-pricing-card__li--no::before {
  content: '✕ ';
  color: var(--gray-300);
  font-weight: 700;
  margin-right: 8px;
}
.fd-pricing-card__li--no {
  color: var(--gray-400) !important;
  text-decoration: line-through;
  text-decoration-color: var(--gray-200);
}
/* Fallback for items without --yes/--no */
.fd-pricing-card__features li:not([class])::before {
  content: '✓ ';
  color: var(--plan-color, var(--red));
  font-weight: 700;
  margin-right: 8px;
}

.fd-pricing-card__desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 8px 0 0 0;
}

.fd-pricing-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.92rem;
  margin: -8px 0 28px 0;
}

.fd-pricing-vat-note {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.78rem;
  margin-top: 24px;
}

/* --- Addon Cards --- */
.fd-pricing-addons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.fd-addon-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fd-addon-card:hover {
  border-color: var(--gray-200);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.fd-addon-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.fd-addon-card__body {
  flex: 1;
}
.fd-addon-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--gray-900);
}
.fd-addon-card__body p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0 0 10px 0;
}
.fd-addon-card__includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.fd-addon-card__includes li {
  font-size: 0.78rem;
  color: var(--gray-600);
  padding-left: 16px;
  position: relative;
}
.fd-addon-card__includes li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary, #e53e3e);
  font-weight: 700;
}
.fd-addon-card__price-box {
  text-align: center;
  flex-shrink: 0;
  min-width: 120px;
}
.fd-addon-card__price {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}
.fd-addon-card__period {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .fd-addon-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .fd-addon-card__price-box {
    width: 100%;
  }
  .fd-addon-card__includes {
    justify-content: center;
  }
}

.fd-pricing-card__cta {
  display: block;
  margin: 16px 24px 24px;
  padding: 12px 24px;
  background: var(--plan-color, var(--red));
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition);
}
.fd-pricing-card__cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ============================================================================
   SIDEBAR BOX
   ============================================================================ */
.fd-sidebar-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.fd-sidebar-box h3 {
  font-size: 0.9375rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-900);
  font-weight: 600;
}

.fd-sidebar-box p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 10px;
}

.fd-sidebar-box a {
  color: var(--red);
}

.fd-sidebar-box a:hover {
  color: var(--red-dark);
}

.fd-sidebar-box strong {
  color: var(--gray-900);
}

/* Hours */
.fd-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
}

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

.fd-hours-day {
  color: var(--gray-900);
  font-weight: 500;
}

.fd-hours-time {
  color: var(--gray-600);
}

.fd-hours-closed .fd-hours-time {
  color: var(--gray-400);
}

/* Map */
.fd-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.fd-map iframe {
  display: block;
}

/* ============================================================================
   AUTH PAGES
   ============================================================================ */
.fd-auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--gray-50);
}

.fd-auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  box-shadow: var(--shadow-lg);
}

.fd-auth-card--wide {
  max-width: 880px;
}

.fd-auth-card h1 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.fd-auth-card__sub {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.fd-auth-card__footer {
  text-align: center;
  margin-top: 24px;
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* ── ROLE PICKER ── */
.fd-role-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 0;
}
@media (max-width: 768px) {
  .fd-role-picker { grid-template-columns: 1fr; }
}
.fd-role-picker__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 32px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--gray-700);
  transition: all var(--transition);
  background: var(--white);
  flex: 1;
}
.fd-role-picker__card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.12);
}
.fd-role-picker__icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}
.fd-role-picker__card h3 {
  font-size: 1.125rem;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.fd-role-picker__card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}

/* ── TRAINER HEADER (public profile) ── */
.fd-trainer-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
}
.fd-trainer-header__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}
.fd-trainer-header__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  font-size: 3rem;
}
.fd-trainer-header__info h1 {
  color: var(--white);
  margin-bottom: 4px;
}
.fd-trainer-header__spec {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
  margin-bottom: 12px;
}
.fd-trainer-header__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fd-trainer-header__badges .fd-badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.fd-trainer-header__badges .fd-badge--primary {
  background: var(--red);
  border-color: var(--red);
}

/* ── TRAINER GYM LINK ── */
.fd-trainer-gym-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--gray-700);
  transition: all var(--transition);
}
.fd-trainer-gym-link:hover {
  border-color: var(--red);
  background: var(--red-light);
}
.fd-trainer-gym-link__icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.fd-trainer-gym-link strong {
  display: block;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.fd-trainer-gym-link p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin: 0;
}
.fd-trainer-gym-link__arrow {
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--red);
}

/* ── TRAINER RATE ── */
.fd-trainer-rate {
  font-size: 1.25rem;
  color: var(--red);
}

/* ── TRAINER GYM BADGE (dashboard) ── */
.fd-trainer-gym-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}
.fd-trainer-gym-badge span:first-child { font-size: 1.5rem; }
.fd-trainer-gym-badge strong { color: var(--gray-900); display: block; }
.fd-trainer-gym-badge p { margin: 0; font-size: 0.8125rem; color: var(--gray-500); }

/* ── EMPTY STATE ── */
.fd-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-500);
}
.fd-empty-state__icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.fd-empty-state h3 { color: var(--gray-700); margin-bottom: 8px; }
.fd-empty-state p { font-size: 0.875rem; }

/* ── GYM HEADER CTA ── */
.fd-gym-header__cta {
  margin-top: 16px;
  display: inline-flex;
}

@media (max-width: 640px) {
  .fd-trainer-header { flex-direction: column; text-align: center; }
  .fd-trainer-header__badges { justify-content: center; }
  .fd-role-picker { grid-template-columns: 1fr; }
}

/* ============================================================================
   FAQ
   ============================================================================ */
.fd-faq {
  max-width: 720px;
  margin: 0 auto;
}

.fd-faq__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.fd-faq__item:hover {
  border-color: var(--gray-300);
}

.fd-faq__item[open] {
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
}

.fd-faq__item summary {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fd-faq__item summary::-webkit-details-marker {
  display: none;
}

.fd-faq__item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--gray-500);
  transition: transform var(--transition);
}

.fd-faq__item[open] summary::after {
  content: '−';
  color: var(--red);
}

.fd-faq__item p {
  padding: 0 24px 20px;
  color: var(--gray-600);
  line-height: 1.7;
  animation: fdSlideDown 0.2s ease-out;
}

/* ============================================================================
   FOOTER CTA (Newsletter strip)
   ============================================================================ */
.fd-footer-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fd-footer-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .fd-footer-cta__inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

.fd-footer-cta__text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.fd-footer-cta__text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  max-width: 400px;
}

.fd-footer-cta__form {
  width: 100%;
  max-width: 440px;
  flex-shrink: 0;
}

.fd-footer-cta__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  cursor: pointer;
}
.fd-footer-cta__consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary, #e53e3e);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.fd-footer-cta__consent span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
.fd-footer-cta__consent a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}
.fd-footer-cta__consent a:hover {
  color: #fff;
}

.fd-footer-cta__input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 5px 5px 5px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fd-footer-cta__input-wrap:focus-within {
  border-color: rgba(225, 29, 72, 0.5);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.fd-footer-cta__icon {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  margin-right: 10px;
}

.fd-footer-cta__input-wrap input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.875rem;
  padding: 10px 0;
  outline: none;
  min-width: 0;
}

.fd-footer-cta__input-wrap input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.fd-footer-cta__input-wrap .fd-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.fd-footer {
  background: var(--gray-900);
  padding: 64px 0 0;
  color: var(--white);
}

.fd-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .fd-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .fd-footer__grid {
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1.2fr;
    gap: 32px;
  }
}

/* Brand column */
.fd-footer__col--brand {
  max-width: 320px;
}

.fd-footer__logo {
  display: inline-block;
  margin-bottom: 16px;
}

.fd-footer__logo .fd-header__brand {
  font-size: 1.375rem;
}

.fd-footer__desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Social icons */
.fd-footer__socials {
  display: flex;
  gap: 10px;
}

.fd-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}

.fd-footer__social:hover {
  background: rgba(225, 29, 72, 0.15);
  border-color: rgba(225, 29, 72, 0.3);
  color: var(--red);
  transform: translateY(-2px);
}

/* Column headings */
.fd-footer__col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  color: var(--white);
}

.fd-footer__col p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  line-height: 1.7;
}

/* Links */
.fd-footer__col > a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  padding: 5px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.fd-footer__col > a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Contact items with icons */
.fd-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.fd-footer__contact-item svg {
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.fd-footer__contact-item a,
.fd-footer__contact-item span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.fd-footer__contact-item a:hover {
  color: #fff;
}

/* Divider */
.fd-footer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 80%, transparent);
  margin-bottom: 0;
}

/* Bottom bar */
.fd-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .fd-footer__bottom {
    justify-content: space-between;
  }
}

.fd-footer__bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin: 0;
}

.fd-footer__bottom-links {
  display: flex;
  gap: 20px;
}

.fd-footer__bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  transition: color 0.2s ease;
}

.fd-footer__bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.fd-footer__powered {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.fd-footer__powered a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.fd-footer__powered a:hover {
  color: var(--red);
}

/* City links row */
.fd-footer__cities {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fd-footer__city-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: 0.75rem;
  line-height: 1.6;
}

.fd-footer__city-label {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin-right: 4px;
  white-space: nowrap;
}

.fd-footer__city-group a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.fd-footer__city-group a:hover {
  color: #fff;
}

.fd-footer__city-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  vertical-align: middle;
}

/* ============================================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================================ */
.fd-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.fd-reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fd-reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fd-reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fd-reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.fd-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fd-stagger.visible > *:nth-child(1) {
  transition-delay: 0s;
}

.fd-stagger.visible > *:nth-child(2) {
  transition-delay: 0.1s;
}

.fd-stagger.visible > *:nth-child(3) {
  transition-delay: 0.2s;
}

.fd-stagger.visible > *:nth-child(4) {
  transition-delay: 0.3s;
}

.fd-stagger.visible > *:nth-child(5) {
  transition-delay: 0.4s;
}

.fd-stagger.visible > *:nth-child(6) {
  transition-delay: 0.5s;
}

.fd-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Floating animation */
@keyframes fdFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ============================================================================
   STATS STRIP (homepage mini-stats bar)
   ============================================================================ */
/* --- CTA Strip --- */
.fd-cta-strip {
  position: relative;
  z-index: 10;
  margin-top: -36px;
  padding: 0;
}
.fd-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-radius: 18px;
  padding: 28px 40px;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.25), 0 2px 8px rgba(0,0,0,0.08);
}
.fd-cta-strip__text h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.fd-cta-strip__text h3 span {
  font-weight: 600;
  opacity: 0.85;
}
.fd-cta-strip__text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}
.fd-cta-strip__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.fd-cta-strip__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.fd-cta-strip__btn--white {
  background: #fff;
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.fd-cta-strip__btn--white:hover {
  background: #fef2f2;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.fd-cta-strip__btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.fd-cta-strip__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .fd-cta-strip__inner {
    flex-direction: column;
    text-align: center;
    padding: 24px 24px;
    gap: 20px;
    border-radius: 14px;
  }
  .fd-cta-strip__actions {
    flex-direction: column;
    width: 100%;
  }
  .fd-cta-strip__btn {
    justify-content: center;
    padding: 14px 20px;
  }
}
@media (max-width: 640px) {
  .fd-cta-strip { margin-top: -28px; }
  .fd-cta-strip__text h3 { font-size: 1.1rem; }
}

/* ============================================================================
   STEP CARDS ("Jak to dziala")
   ============================================================================ */
.fd-step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 44px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.fd-step-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.fd-step-card:hover {
  border-color: var(--gray-300);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.fd-step-card:hover::after { opacity: 1; }

.fd-step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--red), #f43f5e);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.25);
}

.fd-step-card h3 {
  margin-bottom: 12px;
  color: var(--gray-900);
}

.fd-step-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* ============================================================================
   HERO TRUST LOGOS
   ============================================================================ */
.fd-hero__trust {
  margin-top: 48px;
  text-align: center;
  animation: fdFadeUp 0.8s ease 0.8s both;
}

.fd-hero__trust > span {
  display: block;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.fd-hero__trust-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.fd-hero__trust-logos span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.03);
}

.fd-hero__trust-logos span:hover {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255,255,255,0.06);
}

/* ============================================================================
   HERO FLOATING SHAPES
   ============================================================================ */
.fd-hero__shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.fd-hero__shape {
  position: absolute;
  font-size: 2rem;
  opacity: 0.08;
  animation: fdFloat 8s ease-in-out infinite;
  filter: blur(0.5px);
}

.fd-hero__shape--1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  font-size: 2.5rem;
}

.fd-hero__shape--2 {
  top: 25%;
  right: 10%;
  animation-delay: 1.5s;
  font-size: 3rem;
}

.fd-hero__shape--3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 3s;
  font-size: 1.5rem;
}

.fd-hero__shape--4 {
  bottom: 30%;
  right: 20%;
  animation-delay: 4.5s;
  font-size: 2rem;
}

.fd-hero__shape--5 {
  top: 60%;
  left: 5%;
  animation-delay: 2s;
  font-size: 1.75rem;
}

.fd-hero__shape--6 {
  top: 10%;
  right: 30%;
  animation-delay: 5s;
  font-size: 2.25rem;
}

/* Particles canvas */
#fd-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.fd-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.6) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(225,29,72,0.08) 0%, transparent 50%);
  z-index: 3;
}

/* Animated glow orbs */
.fd-hero__shapes .fd-hero__shape--7 {
  top: 50%;
  right: 5%;
  animation-delay: 1s;
  font-size: 1.5rem;
}
.fd-hero__shapes .fd-hero__shape--8 {
  bottom: 15%;
  left: 40%;
  animation-delay: 3.5s;
  font-size: 2rem;
}

/* ============================================================================
   ABOUT PAGE
   ============================================================================ */
.fd-page-header--tall {
  padding: 72px 0 56px;
  background: var(--gray-900);
  color: var(--white);
}

.fd-page-header--tall h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.fd-page-header--tall h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--red), #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fd-page-header--tall p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}

/* Reduce gap between tall header and filters on directory pages */
.fd-page-header--tall + .fd-section {
  padding-top: 40px;
}

.fd-page-header--tall + .fd-container {
  padding-top: 32px;
}

.fd-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .fd-about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fd-about-grid--reverse .fd-about-grid__text {
  order: 1;
}

@media (min-width: 768px) {
  .fd-about-grid--reverse .fd-about-grid__text {
    order: 2;
  }

  .fd-about-grid--reverse .fd-about-grid__visual {
    order: 1;
  }
}

.fd-about-grid__text h2 {
  margin-bottom: 20px;
}

.fd-about-grid__text p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* About visual cards */
.fd-about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fd-about-visual__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.fd-about-visual__card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fd-about-visual__card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.fd-about-visual__card strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 4px;
}

.fd-about-visual__card small {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

.fd-about-visual__card--3 {
  grid-column: 1 / -1;
}

/* Value cards */
.fd-value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.fd-value-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fd-value-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--red-light);
  border-radius: var(--radius-lg);
  margin-left: auto;
  margin-right: auto;
}

.fd-value-card h3 {
  margin-bottom: 12px;
  color: var(--gray-900);
}

.fd-value-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* Feature list */
.fd-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.fd-feature-list li {
  padding: 10px 0;
  color: var(--gray-700);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  padding-left: 28px;
}

.fd-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* About mockup */
.fd-about-mockup {
  display: flex;
  justify-content: center;
}

.fd-about-mockup__window {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.fd-about-mockup__bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.fd-about-mockup__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
}

.fd-about-mockup__bar span:first-child {
  background: #ff5f57;
}

.fd-about-mockup__bar span:nth-child(2) {
  background: #febc2e;
}

.fd-about-mockup__bar span:nth-child(3) {
  background: #28c840;
}

.fd-about-mockup__content {
  display: flex;
  min-height: 240px;
}

.fd-about-mockup__sidebar {
  width: 60px;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
}

.fd-about-mockup__main {
  flex: 1;
  padding: 20px;
}

.fd-about-mockup__line {
  height: 10px;
  background: var(--gray-100);
  border-radius: 4px;
  margin-bottom: 12px;
}

.fd-about-mockup__line--w60 {
  width: 60%;
}

.fd-about-mockup__line--w80 {
  width: 80%;
}

.fd-about-mockup__line--w40 {
  width: 40%;
}

.fd-about-mockup__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.fd-about-mockup__grid div {
  height: 50px;
  background: var(--red-light);
  border-radius: var(--radius-sm);
}

/* ============================================================================
   FILTER STYLES (used in old sidebar layout too)
   ============================================================================ */
.fd-filter-group {
  flex: 1;
  min-width: 180px;
}

.fd-filter-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.fd-filter-group input[type="text"],
.fd-filter-group select {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--gray-900);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
}

.fd-filter-group input[type="text"]:focus,
.fd-filter-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-light);
}

.fd-filter-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ============================================================================
   UTILITIES
   ============================================================================ */
.fd-text-center {
  text-align: center;
}

.fd-text-red {
  color: var(--red);
}

.fd-mt-0 {
  margin-top: 0;
}

.fd-mb-0 {
  margin-bottom: 0;
}

.fd-mt-24 {
  margin-top: 24px;
}

.fd-mb-24 {
  margin-bottom: 24px;
}

.fd-mt-48 {
  margin-top: 48px;
}

.fd-mb-48 {
  margin-bottom: 48px;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */
@media (max-width: 767px) {
  .fd-hero {
    padding: 60px 24px 80px;
  }

  .fd-section {
    padding: 56px 0;
  }

  .fd-stats {
    gap: 16px;
  }

  .fd-stat {
    min-width: 140px;
    padding: 24px 20px;
  }

  .fd-gym-header__logo {
    width: 64px;
    height: 64px;
  }

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

  .fd-gym-layout {
    padding: 32px 0 56px;
  }

  .fd-gym-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .fd-pricing-card {
    padding: 28px 20px;
  }
}

/* ============================================================================
   ADDITIONAL LAYOUT CLASSES
   ============================================================================ */
.fd-main {
  flex: 1;
  min-height: calc(100vh - 80px);
}

.fd-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.fd-header__logo .custom-logo {
  max-height: 40px;
  width: auto;
}

.fd-gym-layout__main {
  min-width: 0;
}

.fd-gym-layout__sidebar {
  min-width: 0;
}

/* ============================================================================
   TESTIMONIAL CARDS
   ============================================================================ */
.fd-testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  position: relative;
}

.fd-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 24px;
  font-size: 5rem;
  color: var(--red-light);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.6;
}

.fd-testimonial-card:hover {
  border-color: var(--gray-300);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.fd-testimonial-card__stars {
  color: #eab308;
  font-size: 1.125rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.fd-testimonial-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.fd-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fd-testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #f43f5e);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.fd-testimonial-card__author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-900);
}

.fd-testimonial-card__author span {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ============================================================================
   ENHANCED ANIMATIONS — "OCZOJEBNE" EFFECTS
   ============================================================================ */

/* Gradient text shimmer */
@keyframes fdShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.fd-shimmer-text {
  background: linear-gradient(90deg, var(--red), #f43f5e, #fb7185, #f43f5e, var(--red));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fdShimmer 4s linear infinite;
}

/* Glow pulse on hover */
@keyframes fdGlowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(225, 29, 72, 0.2); }
  50% { box-shadow: 0 0 40px rgba(225, 29, 72, 0.5), 0 0 80px rgba(225, 29, 72, 0.2); }
}

.fd-glow-hover:hover {
  animation: fdGlowPulse 1.5s ease-in-out infinite;
}

/* CTA box enhanced glow */
.fd-cta-box {
  animation: fdCtaGlow 4s ease-in-out infinite;
}

@keyframes fdCtaGlow {
  0%, 100% { box-shadow: 0 20px 40px rgba(225, 29, 72, 0.3); }
  50% { box-shadow: 0 20px 60px rgba(225, 29, 72, 0.5), 0 0 80px rgba(225, 29, 72, 0.15); }
}

/* Bounce in animation */
@keyframes fdBounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.fd-bounce-in {
  animation: fdBounceIn 0.6s ease-out both;
}

/* Scale up on hover */
.fd-scale-hover {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fd-scale-hover:hover {
  transform: scale(1.05);
}

/* Neon underline */
.fd-neon-underline {
  position: relative;
}

.fd-neon-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red), 0 0 16px rgba(225, 29, 72, 0.4);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.fd-neon-underline:hover::after {
  width: 100%;
}

/* Ripple click effect */
@keyframes fdRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.fd-btn--primary:active::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: fdRipple 0.6s ease-out;
}

/* Hero badge pulse */
.fd-hero__badge {
  animation: fdBadgePulse 3s ease-in-out infinite;
}

@keyframes fdBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(225, 29, 72, 0); }
}

/* Gradient animated bg for hero */
.fd-hero {
  background: linear-gradient(-45deg, #0f172a, #1e293b, #1a0a10, #0f172a);
  background-size: 400% 400%;
  animation: fdGradientBG 15s ease infinite;
}

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

/* Category card icon rotate on hover */
.fd-category-card:hover .fd-category-card__icon {
  transform: rotateY(180deg) scale(1.1);
}

.fd-category-card__icon {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
}

/* Step card number glow */
.fd-step-card__number {
  transition: all 0.3s ease;
}

.fd-step-card:hover .fd-step-card__number {
  box-shadow: 0 0 20px rgba(225, 29, 72, 0.5), 0 0 40px rgba(225, 29, 72, 0.2);
  transform: scale(1.1);
}

/* Gym card shimmer overlay on hover */
.fd-gym-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.05), transparent);
  transition: left 0.7s ease;
  z-index: 3;
  pointer-events: none;
}

.fd-gym-card:hover::after {
  left: 100%;
}


/* CTA box animated shapes */
.fd-cta-box::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: fdFloat 8s ease-in-out infinite;
  z-index: 0;
}

/* Pricing card featured glow */
.fd-pricing-card--featured {
  animation: fdGlowPulse 3s ease-in-out infinite;
}

/* Header nav link underline animation */
.fd-header__nav > a:not(.fd-btn) {
  position: relative;
}

.fd-header__nav > a:not(.fd-btn)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.fd-header__nav > a:not(.fd-btn):hover::after {
  width: 60%;
}

/* Section header line animated */
.fd-section__header h2::after {
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.fd-section__header.visible h2::after,
.fd-section__header h2.visible::after {
  width: 48px;
}

/* Footer link hover glow */
.fd-footer__col > a:hover {
  text-shadow: 0 0 8px rgba(225, 29, 72, 0.15);
}

/* Smooth page load */
@keyframes fdPageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: fdPageLoad 0.5s ease-out;
}

/* Hero search focus glow */
.fd-hero__search-inner:focus-within {
  animation: fdGlowPulse 2s ease-in-out infinite;
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PRICING TABS
   ═══════════════════════════════════════════════════════════════ */
.fd-pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.fd-pricing-tab {
  padding: 12px 24px;
  border: 2px solid var(--gray-200, #e2e8f0);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-600, #475569);
  transition: all 0.2s;
}

.fd-pricing-tab:hover {
  border-color: var(--red, #e11d48);
  color: var(--red, #e11d48);
}

.fd-pricing-tab--active {
  background: var(--red, #e11d48);
  border-color: var(--red, #e11d48);
  color: white;
}

.fd-pricing-tab--active:hover {
  color: white;
}

.fd-pricing-tab-content {
  display: none;
}

.fd-pricing-tab-content--active {
  display: block;
}

/* ── Platform Pricing Grid (cennik page) ── */
.fd-pricing-grid--platform {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .fd-pricing-grid--platform { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .fd-pricing-grid--platform { grid-template-columns: repeat(3, 1fr); }
}

/* ── Platform pricing page note ── */
.fd-section__note {
  text-align: center;
  margin-top: 32px;
  padding: 16px 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.875rem;
  color: var(--gray-500);
}
.fd-section__note p { margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   CHAIN PUBLIC PROFILE
   ═══════════════════════════════════════════════════════════════ */
.fd-chain-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.fd-chain-header__logo {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  object-fit: contain;
  background: white;
  padding: 8px;
  flex-shrink: 0;
}

.fd-chain-header__info h1 {
  margin-bottom: 8px;
}

.fd-chain-header__info p {
  max-width: 700px;
  line-height: 1.6;
}

.fd-chain-public-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
  padding: 24px 0;
}

.fd-chain-public-stat {
  text-align: center;
}

.fd-chain-public-stat__value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900, #0f172a);
}

.fd-chain-public-stat__label {
  font-size: 0.9rem;
  color: var(--gray-500, #64748b);
}

.fd-chain-public-contact {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 16px 0;
  color: var(--gray-600, #475569);
}

.fd-chain-public-contact a {
  color: var(--red, #e11d48);
}

/* ─── Chain Badge Bar (on single gym page) ─── */
.fd-chain-badge-bar {
  background: #eff6ff;
  border-bottom: 1px solid #bfdbfe;
  padding: 10px 0;
}

.fd-chain-badge {
  font-size: 0.9rem;
  color: #1e40af;
}

.fd-chain-badge a {
  color: #1e40af;
  text-decoration: underline;
}

.fd-chain-badge a:hover {
  color: #1d4ed8;
}

/* ─── Role Picker wider for 3 cards ─── */
/* (overridden via original .fd-role-picker + .fd-auth-card--wide) */

@media (max-width: 767px) {
  .fd-pricing-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .fd-chain-header__inner {
    flex-direction: column;
    text-align: center;
  }

  .fd-chain-public-stats {
    flex-direction: column;
    gap: 20px;
  }

  .fd-chain-public-contact {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================================================================
   EQUIPMENT DISPLAY (public gym page)
   ============================================================================ */
.fd-equipment-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fd-equipment-cat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fd-equipment-cat-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.fd-equipment-cat-card__header h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--gray-900);
}

.fd-equipment-cat-card__badge {
  font-size: 0.75rem;
  color: var(--gray-500);
  background: var(--white);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
}

.fd-equipment-cat-card__items {
  padding: 8px 0;
}

.fd-equipment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--gray-100);
}

.fd-equipment-item:last-child {
  border-bottom: 0;
}

.fd-equipment-item:hover {
  background: var(--gray-50);
}

.fd-equipment-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fd-equipment-item__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-800);
}

.fd-equipment-item__detail {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.fd-equipment-item__qty {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--red);
  background: rgba(225, 29, 72, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

/* ============================================================================
   LIGHTBOX
   ============================================================================ */
.fd-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.fd-lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.fd-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.fd-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.fd-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.fd-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.fd-lightbox-prev { left: 20px; }
.fd-lightbox-next { right: 20px; }

.fd-lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}


/* ============================================================================
   PUBLIC CALENDAR — CLASSES
   ============================================================================ */

/* ── Category filters ─────────────────────────────── */
.fd-cal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.fd-cal-filter {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: transparent;
  color: var(--gray-600);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.fd-cal-filter:hover {
  border-color: var(--red);
  color: var(--red);
}
.fd-cal-filter--active,
.fd-cal-filter--active:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ── Mobile day tabs ──────────────────────────────── */
.fd-cal-mobile-tabs {
  display: none;
  gap: 4px;
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.fd-cal-mobile-tab {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: transparent;
  color: var(--gray-600);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}
.fd-cal-mobile-tab--active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ── Weekly grid ──────────────────────────────────── */
.fd-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.fd-cal__day {
  min-width: 0;
}
.fd-cal__day-header {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  padding: 8px 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 8px;
}
.fd-cal__day-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 80px;
}
.fd-cal__empty {
  font-size: 0.75rem;
  color: var(--gray-300);
  text-align: center;
  padding: 12px 0;
}

/* ── Slot (class block) ───────────────────────────── */
.fd-cal__slot {
  background: color-mix(in srgb, var(--slot-color) 10%, white);
  border-left: 3px solid var(--slot-color);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.fd-cal__slot:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
}
.fd-cal__slot-time {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slot-color);
  margin-bottom: 2px;
}
.fd-cal__slot-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fd-cal__slot-trainer {
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-top: 2px;
}
.fd-cal__slot-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.fd-cal__slot-badge {
  font-size: 0.6rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.06);
  color: var(--gray-600);
  padding: 1px 6px;
  border-radius: 999px;
}

/* ── Tooltip (hover expanded) ─────────────────────── */
.fd-cal__slot-tooltip {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 220px;
  max-width: 280px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  cursor: default;
}
.fd-cal__slot:hover .fd-cal__slot-tooltip {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fd-cal__slot-tooltip strong {
  font-size: 0.9rem;
  color: var(--gray-900);
}
.fd-cal__slot-tooltip span {
  font-size: 0.8rem;
  color: var(--gray-600);
}
.fd-cal__slot-tooltip p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 4px 0 0;
  line-height: 1.4;
}

/* ── Booking button ───────────────────────────────── */
.fd-cal__booking-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 16px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}
.fd-cal__booking-btn:hover {
  background: var(--red-dark);
  transform: scale(1.03);
  color: #fff;
}

/* ── Legend ────────────────────────────────────────── */
.fd-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.fd-cal-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray-600);
}
.fd-cal-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Mobile: switch to tabs + list ────────────────── */
@media (max-width: 768px) {
  .fd-cal-mobile-tabs {
    display: flex;
  }
  .fd-cal {
    display: block;
  }
  .fd-cal__day {
    display: none;
  }
  .fd-cal__day--mobile-active {
    display: block;
  }
  .fd-cal__day-header {
    display: none;
  }
  .fd-cal__slot-tooltip {
    position: static;
    transform: none;
    margin-top: 8px;
    display: none;
  }
  .fd-cal__slot:hover .fd-cal__slot-tooltip {
    display: flex;
  }
  .fd-cal__slot {
    padding: 12px 14px;
  }
  .fd-cal__slot-name {
    white-space: normal;
    font-size: 0.9rem;
  }
  .fd-cal__slot-time {
    font-size: 0.75rem;
  }
}

/* ============================================================================
   MAP COMPONENTS — Directory Mini Map + Fit Mapa Full Screen
   ============================================================================ */

/* ─── CUSTOM LEAFLET MARKERS ─── */
.fd-map-marker { background: none !important; border: none !important; }
.fd-map-marker__pin {
  width: 36px; height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  border: 2px solid #fff;
  position: relative;
}
.fd-map-marker__pin > * ,
.fd-map-marker__pin { line-height: 1; }
/* emoji inside pin stays upright */
.fd-map-marker__pin::after {
  content: attr(data-icon);
}
/* The emoji inside needs counter-rotation */
.fd-map-marker__pin {
  font-size: 0;
}
.fd-map-marker__pin::before {
  display: none;
}
/* Override: the inner HTML emoji needs counter-rotation */
.fd-map-marker .fd-map-marker__pin {
  font-size: 16px;
}

/* ─── MAP POPUP ─── */
.fd-map-popup { padding: 4px 0; min-width: 180px; }
.fd-map-popup strong { display: block; font-size: 0.9375rem; margin-bottom: 4px; color: var(--gray-900); }
.fd-map-popup__type {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  color: var(--gray-600); background: var(--gray-100);
  padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
}
.fd-map-popup__addr { display: block; font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 8px; }
.fd-map-popup__link {
  display: inline-block; font-size: 0.8125rem; font-weight: 600;
  color: var(--red); text-decoration: none;
}
.fd-map-popup__link:hover { text-decoration: underline; }

/* Leaflet popup override */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
  padding: 4px !important;
}
.leaflet-popup-content { margin: 10px 14px !important; }

/* ─── CLUSTER ICONS ─── */
.fd-cluster-wrap { background: none !important; border: none !important; }
.fd-cluster {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8125rem; color: #fff;
  box-shadow: 0 2px 8px rgba(225,29,72,0.3);
  border: 2px solid #fff;
}
.fd-cluster--small { background: var(--red); }
.fd-cluster--medium { background: var(--red-dark); width: 48px; height: 48px; font-size: 0.875rem; }
.fd-cluster--large { background: #9f1239; width: 56px; height: 56px; font-size: 1rem; }

/* ─── DIRECTORY MINI MAP ─── */
.fd-dir-map-wrap {
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: relative;
  z-index: 1;
}
.fd-dir-map {
  height: 280px;
  width: 100%;
  background: var(--gray-100);
}
/* Keep Leaflet controls below header & mobile menu */
.fd-dir-map .leaflet-pane,
.fd-dir-map .leaflet-control { z-index: auto; }
.fd-dir-map .leaflet-top,
.fd-dir-map .leaflet-bottom { z-index: 10; }

/* ─── FIT MAPA — FULL SCREEN ─── */
.fd-fitmap {
  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 72px); /* subtract header */
  background: var(--gray-50);
}

/* Top bar */
.fd-fitmap__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  flex-wrap: wrap;
}
.fd-fitmap__topbar-left {
  display: flex; align-items: center; gap: 12px;
}
.fd-fitmap__title {
  font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin: 0;
}
.fd-fitmap__count {
  font-size: 0.8125rem; color: var(--gray-500);
  background: var(--gray-100); padding: 4px 10px; border-radius: 999px;
}
.fd-fitmap__filters {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.fd-fitmap__select {
  padding: 6px 12px; border: 1px solid var(--gray-200); border-radius: 8px;
  font-size: 0.8125rem; color: var(--gray-700); background: var(--white);
  cursor: pointer; min-width: 140px;
}
.fd-fitmap__select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }
.fd-fitmap__btn-reset {
  padding: 6px 14px; border: 1px solid var(--gray-200); border-radius: 8px;
  font-size: 0.8125rem; color: var(--gray-600); background: var(--white);
  cursor: pointer; transition: all 0.15s;
}
.fd-fitmap__btn-reset:hover { background: var(--gray-50); border-color: var(--gray-300); }
.fd-fitmap__back {
  font-size: 0.8125rem; color: var(--gray-600); text-decoration: none; font-weight: 500;
  white-space: nowrap;
}
.fd-fitmap__back:hover { color: var(--red); }

/* Category chips */
.fd-fitmap__chips {
  display: flex; gap: 6px; padding: 8px 20px;
  background: var(--white); border-bottom: 1px solid var(--gray-100);
  overflow-x: auto; z-index: 999;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fd-fitmap__chips::-webkit-scrollbar { display: none; }
.fd-fitmap__chip {
  padding: 5px 14px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
  border: 1px solid var(--gray-200);
  background: var(--white); color: var(--gray-600);
  cursor: pointer; white-space: nowrap;
  transition: all 0.15s;
}
.fd-fitmap__chip:hover { border-color: var(--gray-300); background: var(--gray-50); }
.fd-fitmap__chip.active {
  background: var(--chip-color, var(--red));
  color: #fff;
  border-color: var(--chip-color, var(--red));
}

/* Map container */
.fd-fitmap__map {
  flex: 1;
  min-height: 0;
  z-index: 1;
}

/* Sidebar */
.fd-fitmap__sidebar {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 340px; max-width: 90vw;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  z-index: 1001;
  overflow-y: auto;
  padding: 20px;
  animation: fdSlideIn 0.2s ease;
}
@keyframes fdSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.fd-fitmap__sidebar-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: var(--gray-100); color: var(--gray-600);
  font-size: 1.25rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.15s;
}
.fd-fitmap__sidebar-close:hover { background: var(--gray-200); }
.fd-fitmap__sidebar-card { padding-top: 16px; }
.fd-fitmap__sidebar-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.fd-fitmap__sidebar-card h3 {
  font-size: 1.125rem; font-weight: 700; color: var(--gray-900);
  margin: 0 0 6px;
}
.fd-fitmap__sidebar-type {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  color: var(--gray-500); background: var(--gray-100);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}
.fd-fitmap__sidebar-addr {
  font-size: 0.875rem; color: var(--gray-600); margin: 0 0 4px;
}
.fd-fitmap__sidebar-city {
  font-size: 0.8125rem; color: var(--gray-400); margin: 0 0 16px;
}

/* Legend */
.fd-fitmap__legend {
  position: absolute; bottom: 20px; left: 20px;
  z-index: 1000;
}
.fd-fitmap__legend-toggle {
  padding: 8px 16px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--gray-200);
  font-size: 0.8125rem; font-weight: 600; color: var(--gray-700);
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.15s;
}
.fd-fitmap__legend-toggle:hover { background: var(--gray-50); }
.fd-fitmap__legend-body {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 12px 16px; margin-top: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  min-width: 200px; max-height: 320px; overflow-y: auto;
}
.fd-fitmap__legend-item {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 0; font-size: 0.8125rem; color: var(--gray-700);
}
.fd-fitmap__legend-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}

/* ─── FILTER BUTTON WITH BADGE ─── */
.fd-fitmap__btn-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.fd-fitmap__btn-filter:hover { background: var(--gray-50); border-color: var(--gray-300); }
.fd-fitmap__filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 100px;
}

/* ─── ADVANCED FILTER PANEL ─── */
.fd-fitmap__adv-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #fff;
  border-left: 1px solid var(--gray-200);
  box-shadow: -4px 0 24px rgba(0,0,0,0.08);
  z-index: 500;
  padding: 0;
  animation: fdSlideIn 0.2s ease;
}
.fd-fitmap__adv-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fd-fitmap__adv-group {}
.fd-fitmap__adv-heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}
.fd-fitmap__adv-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}
.fd-fitmap__adv-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}
.fd-fitmap__adv-check-label {}
.fd-fitmap__adv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fd-fitmap__adv-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.fd-fitmap__adv-tag input[type="checkbox"] { display: none; }
.fd-fitmap__adv-tag span {
  padding: 5px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all 0.15s;
  white-space: nowrap;
}
.fd-fitmap__adv-tag input:checked + span {
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.3);
  color: var(--red);
}
.fd-fitmap__adv-actions {
  display: flex;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
}

/* ─── SIDEBAR ENHANCEMENTS ─── */
.fd-fitmap__sidebar-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.fd-fitmap__sidebar-phone {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 4px 0 0;
}
.fd-fitmap__sidebar-amenities,
.fd-fitmap__sidebar-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}
.fd-fitmap__sidebar-amenity {
  padding: 3px 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 0.6875rem;
  color: var(--gray-600);
  text-transform: capitalize;
}
.fd-fitmap__sidebar-card-tag {
  padding: 3px 8px;
  background: rgba(225, 29, 72, 0.06);
  border: 1px solid rgba(225, 29, 72, 0.15);
  border-radius: 6px;
  font-size: 0.6875rem;
  color: var(--red);
  font-weight: 600;
}
.fd-fitmap__sidebar-btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}
.fd-fitmap__sidebar-btns .fd-btn { width: 100%; text-align: center; justify-content: center; }
.fd-fitmap__sidebar-compare {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--red);
  border-radius: 6px;
  background: #fff;
  color: var(--red);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
  width: 100%;
  justify-content: center;
}
.fd-fitmap__sidebar-compare:hover {
  background: var(--red);
  color: #fff;
}

/* ─── COMPARE BAR (fixed bottom — shared across pages) ─── */
.fd-compare-bar,
.fd-fitmap__compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 600;
  background: #fff;
  border-top: 2px solid var(--red);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  animation: fdSlideUp 0.25s ease;
}
@keyframes fdSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.fd-compare-bar__inner,
.fd-fitmap__compare-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.fd-compare-bar__label,
.fd-fitmap__compare-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  white-space: nowrap;
}
.fd-compare-bar__items,
.fd-fitmap__compare-items {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
}
.fd-compare-bar__chip,
.fd-fitmap__compare-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.fd-compare-bar__chip-x,
.fd-fitmap__compare-chip-x {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-400);
  padding: 0 0 0 4px;
  line-height: 1;
}
.fd-compare-bar__chip-x:hover,
.fd-fitmap__compare-chip-x:hover { color: var(--red); }
.fd-compare-bar__clear,
.fd-fitmap__compare-clear {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--gray-400);
  padding: 4px 8px;
}
.fd-compare-bar__clear:hover,
.fd-fitmap__compare-clear:hover { color: var(--red); }

/* ─── COMPARE BUTTON (on gym cards) ─── */
.fd-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  margin-top: 10px;
  align-self: flex-start;
}
.fd-compare-btn:hover {
  border-color: #be123c;
  color: #fff;
  background: #be123c;
}
.fd-compare-btn--active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.fd-compare-btn--active:hover {
  background: #be123c;
  border-color: #be123c;
  color: #fff;
}

/* ─── COMPARE MODAL ─── */
.fd-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.fd-compare-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.fd-compare-modal__content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: fdScaleIn 0.2s ease;
}
@keyframes fdScaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.fd-compare-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.fd-compare-modal__header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0;
}
.fd-compare-modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.fd-compare-modal__close:hover { background: var(--gray-100); color: var(--gray-700); }
.fd-compare-modal__body {
  overflow-x: auto;
  overflow-y: auto;
  padding: 0 24px 24px;
  flex: 1;
}

/* ─── COMPARE TABLE ─── */
.fd-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.fd-compare-table__row { border-bottom: 1px solid var(--gray-100); }
.fd-compare-table__row--header { border-bottom: 2px solid var(--gray-200); }
.fd-compare-table__row--actions { border-bottom: none; }
.fd-compare-table__label {
  padding: 12px 16px 12px 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  vertical-align: top;
  width: 140px;
  min-width: 120px;
}
.fd-compare-table__cell {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--gray-700);
  vertical-align: top;
  min-width: 200px;
}
.fd-compare-table__cell a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}
.fd-compare-table__cell a:hover { text-decoration: underline; }
.fd-compare-table__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 8px 0;
}
.fd-compare-table__thumb {
  width: 100%;
  max-width: 180px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}
.fd-compare-table__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}
.fd-compare-table__header strong {
  font-size: 1rem;
  color: var(--gray-900);
}
.fd-compare-table__type-badge {
  font-weight: 700;
  font-size: 0.8125rem;
}
.fd-compare-table__na {
  color: var(--gray-300);
  font-style: italic;
}
.fd-compare-table__tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  margin: 2px;
  text-transform: capitalize;
}
.fd-compare-table__hours { font-weight: 600; }
.fd-compare-table__hours--open { color: #16a34a; }
.fd-compare-table__hours--closed { color: #dc2626; }

/* ─── FIT MAPA RESPONSIVE ─── */
@media (max-width: 768px) {
  .fd-fitmap { height: calc(100vh - 60px); }
  .fd-fitmap__topbar {
    padding: 10px 12px; gap: 8px;
  }
  .fd-fitmap__title { font-size: 1rem; }
  .fd-fitmap__filters { width: 100%; }
  .fd-fitmap__select { min-width: 0; flex: 1; font-size: 0.75rem; }
  .fd-fitmap__back { display: none; }
  .fd-fitmap__chips { padding: 6px 12px; }
  .fd-fitmap__sidebar { width: 100%; max-width: 100%; }
  .fd-fitmap__legend { bottom: 12px; left: 12px; }
  .fd-dir-map { height: 200px; }
  .fd-fitmap__adv-panel { width: 100%; }
  .fd-compare-bar,
  .fd-fitmap__compare-bar { padding: 8px 12px; }
  .fd-compare-bar__label,
  .fd-fitmap__compare-label { font-size: 0.75rem; }
  .fd-compare-bar__items,
  .fd-fitmap__compare-items { gap: 4px; }
  .fd-compare-bar__chip,
  .fd-fitmap__compare-chip { font-size: 0.75rem; padding: 4px 8px; }
  .fd-compare-btn { font-size: 0.72rem; padding: 4px 8px; }
  .fd-compare-modal { padding: 12px; }
  .fd-compare-modal__content { max-height: 90vh; border-radius: 12px; }
  .fd-compare-table__label { width: 100px; min-width: 80px; font-size: 0.75rem; padding: 8px 8px 8px 0; }
  .fd-compare-table__cell { min-width: 150px; padding: 8px; font-size: 0.8125rem; }
}

@media (max-width: 480px) {
  .fd-fitmap__topbar-left { width: 100%; justify-content: space-between; }
  .fd-fitmap__filters { flex-direction: column; }
  .fd-fitmap__select { width: 100%; }
  .fd-fitmap__btn-filter { width: 100%; justify-content: center; }
}

/* ============================================================================
   COOKIE CONSENT BANNER — Google Consent Mode v2
   Compact left-corner glassmorphism — NO scroll blocking
   ============================================================================ */

/* Wrapper — pointer-events pass through to page */
.fd-cookie {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  pointer-events: none;
}

/* Backdrop — ONLY visible when settings panel is open */
.fd-cookie__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.fd-cookie__backdrop--visible {
  opacity: 1;
  pointer-events: auto;
}

/* ─── COMPACT BANNER — bottom left corner ─── */
.fd-cookie__banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 340px;
  background: rgba(15,23,42,0.94);
  backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 20px;
  color: var(--white);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 2;
  pointer-events: auto;
}
.fd-cookie__banner--visible {
  transform: translateY(0);
  opacity: 1;
}
.fd-cookie__banner--hiding {
  transform: translateY(calc(100% + 40px));
  opacity: 0;
}

/* Header — compact */
.fd-cookie__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.fd-cookie__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(225,29,72,0.2), rgba(225,29,72,0.05));
  display: flex; align-items: center; justify-content: center;
  color: #f43f5e;
  flex-shrink: 0;
  border: 1px solid rgba(225,29,72,0.12);
}
.fd-cookie__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}
.fd-cookie__subtitle {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  margin: 2px 0 0;
}

/* Action buttons — compact row */
.fd-cookie__actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.fd-cookie__btn {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  line-height: 1.2;
  white-space: nowrap;
}
.fd-cookie__btn--accept {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #fff;
  box-shadow: 0 3px 12px rgba(225,29,72,0.3);
  flex: 1;
}
.fd-cookie__btn--accept:hover {
  box-shadow: 0 5px 20px rgba(225,29,72,0.45);
  transform: translateY(-1px);
}
.fd-cookie__btn--reject {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.08);
}
.fd-cookie__btn--reject:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.fd-cookie__btn--settings {
  background: transparent;
  color: rgba(255,255,255,0.4);
  padding: 8px 6px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fd-cookie__btn--settings:hover {
  color: rgba(255,255,255,0.7);
}

/* Powered badge */
.fd-cookie__powered {
  text-align: center;
  font-size: 0.5625rem;
  color: rgba(255,255,255,0.15);
  margin-top: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── SETTINGS PANEL — centered overlay ─── */
.fd-cookie__panel {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 48px);
  max-width: 480px;
  max-height: calc(100vh - 48px);
  z-index: 3;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
}
.fd-cookie__panel--open {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.fd-cookie__panel-inner {
  background: rgba(15,23,42,0.96);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
}

/* Panel header */
.fd-cookie__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fd-cookie__panel-header h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.fd-cookie__panel-close {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 1.125rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.fd-cookie__panel-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Panel body */
.fd-cookie__panel-body {
  padding: 12px 20px;
  overflow-y: auto;
  flex: 1;
}

/* Category block */
.fd-cookie__category {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fd-cookie__category:last-child { border-bottom: none; }

.fd-cookie__cat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.fd-cookie__cat-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
}
.fd-cookie__cat-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.fd-cookie__cat-info strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--white);
  margin-bottom: 3px;
}
.fd-cookie__cat-info p {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
  line-height: 1.4;
}

/* Toggle switch */
.fd-cookie__toggle {
  position: relative;
  width: 40px; height: 22px;
  flex-shrink: 0;
  cursor: pointer;
  margin-top: 1px;
}
.fd-cookie__toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.fd-cookie__toggle > span {
  display: block;
  width: 40px; height: 22px;
  border-radius: 11px;
  background: rgba(255,255,255,0.12);
  transition: background 0.25s;
  position: relative;
}
.fd-cookie__toggle > span::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.fd-cookie__toggle input:checked + span {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
}
.fd-cookie__toggle input:checked + span::after {
  transform: translateX(18px);
}

/* Locked toggle */
.fd-cookie__toggle--locked { cursor: default; }
.fd-cookie__toggle--on > span {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  opacity: 0.6;
}
.fd-cookie__toggle--on > span::after {
  transform: translateX(18px);
}

/* Service tags */
.fd-cookie__cat-services {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  padding-left: 30px;
}
.fd-cookie__service-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.fd-cookie__service-tag--ga { border-color: rgba(66,133,244,0.2); color: rgba(66,133,244,0.6); }
.fd-cookie__service-tag--gtm { border-color: rgba(24,128,220,0.2); color: rgba(24,128,220,0.6); }
.fd-cookie__service-tag--clarity { border-color: rgba(138,43,226,0.2); color: rgba(138,43,226,0.6); }
.fd-cookie__service-tag--gads { border-color: rgba(52,168,83,0.2); color: rgba(52,168,83,0.6); }
.fd-cookie__service-tag--meta { border-color: rgba(24,119,242,0.2); color: rgba(24,119,242,0.6); }

/* Panel footer */
.fd-cookie__panel-footer {
  display: flex;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.fd-cookie__panel-footer .fd-cookie__btn { flex: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
  .fd-cookie__banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    border-radius: 16px;
    padding: 16px;
  }
  .fd-cookie__actions { flex-wrap: wrap; }
  .fd-cookie__btn--accept { flex: 1 0 100%; }
  .fd-cookie__panel {
    left: 4px; right: 4px;
    bottom: 4px;
    width: auto;
    max-width: none;
    transform: translateX(0) translateY(120%);
    max-height: 80vh;
  }
  .fd-cookie__panel--open {
    transform: translateX(0) translateY(0);
  }
  .fd-cookie__panel-inner {
    border-radius: 18px;
    max-height: 80vh;
  }
  .fd-cookie__cat-services { padding-left: 0; }
}

/* Footer cookie settings link */
.fd-footer__cookie-link {
  color: var(--gray-500);
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.15s;
}
.fd-footer__cookie-link:hover { color: var(--red); }

/* ============================================================================
   MOBILE HERO + CONTAINER FIXES (v4.8)
   ============================================================================ */
@media (max-width: 767px) {
  .fd-container {
    padding: 0 10px;
  }

  .fd-hero {
    padding: 48px 10px 60px;
    min-height: auto;
  }

  .fd-hero__badge {
    padding: 5px 12px;
    font-size: 0.6875rem;
    margin-bottom: 14px;
  }

  .fd-hero__content h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
  }

  .fd-hero__sub {
    font-size: 0.875rem;
    margin-bottom: 24px;
    line-height: 1.5;
  }

  .fd-hero__search {
    margin-top: 24px;
  }

  .fd-hero__search-inner {
    padding: 10px;
    gap: 8px;
  }

  .fd-hero__quick-cats {
    margin-top: 16px;
  }

  .fd-hero__content {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   BREADCRUMBS (non-blog pages)
   ═══════════════════════════════════════════════════════════ */
nav.fd-breadcrumbs {
  padding: 12px 16px;
  max-width: var(--container, 1200px);
  margin: 0 auto;
  background: transparent;
}
nav.fd-breadcrumbs .fd-breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  flex-wrap: wrap;
}
nav.fd-breadcrumbs .fd-breadcrumbs__item {
  display: flex;
  align-items: center;
  color: #9ca3af;
}
nav.fd-breadcrumbs .fd-breadcrumbs__item a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}
nav.fd-breadcrumbs .fd-breadcrumbs__item a:hover {
  color: var(--red, #e11d48);
}
nav.fd-breadcrumbs .fd-breadcrumbs__item + .fd-breadcrumbs__item::before {
  content: '/';
  margin: 0 8px;
  color: #d1d5db;
  font-size: 0.7rem;
}
nav.fd-breadcrumbs .fd-breadcrumbs__item--current span {
  color: #374151;
  font-weight: 500;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   TRAINER DIRECTORY — Search & Cards
   ═══════════════════════════════════════════════════════════ */

/* Filters panel */
.fd-trainer-filters {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.fd-trainer-filters__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fd-trainer-filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.fd-trainer-filters__row--secondary {
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.fd-trainer-filters__actions {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding-bottom: 1px;
}
.fd-trainer-filters__actions .fd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Trainer card grid */
.fd-trainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Single trainer card */
.fd-trainer-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.fd-trainer-card:hover {
  border-color: var(--gray-200);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* Photo area */
.fd-trainer-card__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--gray-50);
  overflow: hidden;
}
.fd-trainer-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fd-trainer-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
}
.fd-trainer-card__rate {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 100px;
}

/* Card body */
.fd-trainer-card__body {
  padding: 20px 20px 12px;
  flex: 1;
}
.fd-trainer-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fd-trainer-card__verified {
  color: var(--green, #16a34a);
  flex-shrink: 0;
  display: inline-flex;
}

/* Specialization tags */
.fd-trainer-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.fd-trainer-card__spec-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--red-light);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
}
.fd-trainer-card__spec-tag--more {
  background: var(--gray-100);
  color: var(--gray-500);
}

/* Meta line (city + experience) */
.fd-trainer-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.fd-trainer-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--gray-500);
}
.fd-trainer-card__meta-item svg { color: var(--gray-400); flex-shrink: 0; }

/* Gym affiliation */
.fd-trainer-card__gym {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.fd-trainer-card__gym svg { color: var(--gray-400); flex-shrink: 0; }

/* Certifications */
.fd-trainer-card__certs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 6px;
}
.fd-trainer-card__certs svg { color: var(--gray-300); flex-shrink: 0; }

/* Card footer */
.fd-trainer-card__footer {
  padding: 14px 20px;
  border-top: 1px solid var(--gray-50);
}
.fd-trainer-card__cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  transition: color 0.15s;
}
.fd-trainer-card:hover .fd-trainer-card__cta {
  color: var(--red-dark);
}

/* ─── TRAINER DIRECTORY: MOBILE ─── */
@media (max-width: 1024px) {
  .fd-trainer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .fd-trainer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Mobile slide-up filters */
  .fd-trainer-filters {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 999;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 20px 28px;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    transform: translateY(100%);
    transition: transform 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
    will-change: transform;
    margin-bottom: 0;
  }
  .fd-trainer-filters--open {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  .fd-trainer-filters .fd-directory__filters-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 0;
    color: var(--gray-600);
    cursor: pointer;
    z-index: 2;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
  }
  .fd-trainer-filters .fd-directory__filters-close::before {
    content: '\00D7';
    font-size: 1.4rem;
    line-height: 1;
    display: block;
  }
  .fd-trainer-filters__row {
    flex-direction: column;
    gap: 12px;
  }
  .fd-trainer-filters__row--secondary {
    border-top: none;
    padding-top: 0;
  }
  .fd-trainer-filters .fd-filter-group {
    width: 100%;
    min-width: 0;
    flex: none;
  }
  .fd-trainer-filters .fd-filter-group input[type="text"],
  .fd-trainer-filters .fd-filter-group select {
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    font-size: 16px;
  }
  .fd-trainer-filters .fd-filter-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    background-color: var(--white);
  }
  .fd-trainer-filters__actions {
    width: 100%;
  }
  .fd-trainer-filters__actions .fd-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Dodaj silownie
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Hero
   ═══════════════════════════════════════════════════════════ */
.fd-lp-hero {
  position: relative;
  padding: 120px 0 100px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.fd-lp-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0a0f1e 0%, #111936 40%, #1a1145 70%, #0f172a 100%);
  z-index: 0;
}
.fd-lp-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}
.fd-lp-hero__glow--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
  background: rgba(225, 29, 72, 0.15);
}
.fd-lp-hero__glow--2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -100px;
  background: rgba(99, 102, 241, 0.12);
}
.fd-lp-hero__inner {
  position: relative;
  z-index: 2;
}
.fd-lp-hero__badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.fd-lp-hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 24px;
  color: #fff;
  letter-spacing: -0.02em;
}
.fd-lp-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #f43f5e 0%, #fb923c 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fd-lp-hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.fd-lp-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}
.fd-lp-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #fff !important;
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(225, 29, 72, 0.35), 0 0 0 0 rgba(225, 29, 72, 0);
  text-decoration: none;
}
.fd-lp-hero__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(225, 29, 72, 0.45), 0 0 60px rgba(225, 29, 72, 0.15);
}
.fd-lp-hero__btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: rgba(255,255,255,0.06);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.fd-lp-hero__btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.fd-lp-hero__trust {
  margin-top: 48px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.fd-lp-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Stats strip
   ═══════════════════════════════════════════════════════════ */
.fd-lp-stats {
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  z-index: 3;
}
.fd-lp-stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.fd-lp-stat {
  text-align: center;
  padding: 36px 16px;
  border-right: 1px solid var(--gray-100);
}
.fd-lp-stat:last-child { border-right: none; }
.fd-lp-stat__number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.fd-lp-stat__label {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Shared section header
   ═══════════════════════════════════════════════════════════ */
.fd-lp-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.fd-lp-section-header__tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--red-light);
  color: var(--red);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.fd-lp-section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.fd-lp-section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Benefits
   ═══════════════════════════════════════════════════════════ */
.fd-lp-benefits {
  padding: 96px 0;
  background: #fff;
}
.fd-lp-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fd-lp-benefit {
  text-align: left;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  background: #fff;
  transition: all 0.25s;
}
.fd-lp-benefit:hover {
  border-color: var(--gray-200);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.fd-lp-benefit__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.fd-lp-benefit__icon-wrap--red    { background: #fff1f2; color: #e11d48; }
.fd-lp-benefit__icon-wrap--blue   { background: #eff6ff; color: #3b82f6; }
.fd-lp-benefit__icon-wrap--green  { background: #f0fdf4; color: #16a34a; }
.fd-lp-benefit__icon-wrap--purple { background: #f5f3ff; color: #7c3aed; }
.fd-lp-benefit__icon-wrap--amber  { background: #fffbeb; color: #d97706; }
.fd-lp-benefit__icon-wrap--teal   { background: #f0fdfa; color: #0d9488; }
.fd-lp-benefit__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--gray-900);
}
.fd-lp-benefit__desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — How it works
   ═══════════════════════════════════════════════════════════ */
.fd-lp-how {
  padding: 96px 0;
  background: var(--gray-50);
}
.fd-lp-how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.fd-lp-step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.fd-lp-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gray-900);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.fd-lp-step__connector {
  position: absolute;
  top: 26px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.fd-lp-step:last-child .fd-lp-step__connector { display: none; }
.fd-lp-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--gray-900);
}
.fd-lp-step__desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Mid CTA
   ═══════════════════════════════════════════════════════════ */
.fd-lp-mid-cta {
  padding: 0;
  background: #fff;
}
.fd-lp-mid-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 56px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 20px;
  color: #fff;
}
.fd-lp-mid-cta__text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.fd-lp-mid-cta__text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 420px;
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Business types
   ═══════════════════════════════════════════════════════════ */
.fd-lp-types {
  padding: 96px 0;
  background: #fff;
}
.fd-lp-types__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.fd-lp-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.2s;
  white-space: nowrap;
}
.fd-lp-type-chip:hover {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225,29,72,0.1);
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Plans
   ═══════════════════════════════════════════════════════════ */
.fd-lp-plans {
  padding: 96px 0;
  background: var(--gray-50);
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — FAQ
   ═══════════════════════════════════════════════════════════ */
.fd-lp-faq {
  padding: 96px 0;
  background: #fff;
}
.fd-lp-faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fd-lp-faq__item {
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}
.fd-lp-faq__item[open] {
  border-color: var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.fd-lp-faq__question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fd-lp-faq__question::-webkit-details-marker { display: none; }
.fd-lp-faq__question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.fd-lp-faq__item[open] .fd-lp-faq__question::after {
  content: '\2212';
  color: var(--red);
}
.fd-lp-faq__answer {
  padding: 0 24px 20px;
}
.fd-lp-faq__answer p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Final CTA
   ═══════════════════════════════════════════════════════════ */
.fd-lp-final-cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.fd-lp-final-cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0a0f1e, #111936 50%, #1a1145);
  z-index: 0;
}
.fd-lp-final-cta__inner {
  position: relative;
  z-index: 1;
}
.fd-lp-final-cta h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.fd-lp-final-cta p {
  color: rgba(255,255,255,0.55);
  font-size: 1.1rem;
  max-width: 460px;
  margin: 0 auto 36px;
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Responsive
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .fd-lp-mid-cta__inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }
  .fd-lp-mid-cta__text p { max-width: none; }
}
@media (max-width: 768px) {
  .fd-lp-hero { padding: 80px 16px 64px; }
  .fd-lp-hero h1 { font-size: 2rem; }
  .fd-lp-hero__sub { font-size: 1rem; margin-bottom: 32px; }
  .fd-lp-hero__cta { flex-direction: column; align-items: center; }
  .fd-lp-hero__btn-primary,
  .fd-lp-hero__btn-outline { width: 100%; max-width: 320px; justify-content: center; text-align: center; }
  .fd-lp-hero__trust { flex-direction: column; gap: 12px; align-items: center; }

  .fd-lp-stats__inner { grid-template-columns: repeat(2, 1fr); }
  .fd-lp-stat { border-bottom: 1px solid var(--gray-100); }

  .fd-lp-section-header h2 { font-size: 1.5rem; }
  .fd-lp-benefits__grid { grid-template-columns: 1fr; gap: 12px; }
  .fd-lp-benefit { padding: 20px; }

  .fd-lp-how__steps { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .fd-lp-step__connector { display: none !important; }

  .fd-lp-mid-cta { padding: 0 16px; }
  .fd-lp-mid-cta__inner { padding: 32px 24px; border-radius: 16px; }
  .fd-lp-mid-cta__text h2 { font-size: 1.25rem; }

  .fd-lp-type-chip { font-size: 0.82rem; padding: 10px 18px; }

  .fd-lp-faq__question { padding: 16px 20px; font-size: 0.88rem; }
  .fd-lp-faq__answer { padding: 0 20px 16px; }

  .fd-lp-final-cta { padding: 80px 16px; }
  .fd-lp-final-cta h2 { font-size: 1.6rem; }
}

/* ==========================================================================
   INSTRUKCJA OBSŁUGI (Guide)
   ========================================================================== */

/* --- Quick Nav --- */
.fd-guide-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.fd-guide-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: #fff;
  border: 1px solid var(--gray-100, #f0f0f0);
  border-radius: 14px;
  text-decoration: none;
  color: var(--gray-700, #374151);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.fd-guide-nav__item:hover {
  border-color: var(--primary, #e53e3e);
  background: rgba(229, 62, 62, 0.04);
  color: var(--primary, #e53e3e);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.1);
}
.fd-guide-nav__icon {
  font-size: 1.6rem;
  line-height: 1;
}
.fd-guide-nav__label {
  text-align: center;
  line-height: 1.3;
}

/* --- Main Guide Container --- */
.fd-guide {
  max-width: 860px;
  margin: 0 auto;
}

/* --- Sections --- */
.fd-guide__section {
  margin-bottom: 56px;
  scroll-margin-top: 80px;
}
.fd-guide__section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-100, #f0f0f0);
}
.fd-guide__section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary, #e53e3e), #c53030);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 12px;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.fd-guide__section-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900, #111827);
  margin: 0;
}

/* --- Cards --- */
.fd-guide__card {
  background: #fff;
  border: 1px solid var(--gray-100, #f0f0f0);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 20px;
}
.fd-guide__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900, #111827);
  margin: 0 0 12px 0;
}
.fd-guide__card p {
  color: var(--gray-600, #4b5563);
  line-height: 1.7;
  margin: 0 0 12px 0;
}
.fd-guide__card p:last-child {
  margin-bottom: 0;
}
.fd-guide__card--highlight {
  background: linear-gradient(135deg, rgba(229, 62, 62, 0.05), rgba(229, 62, 62, 0.02));
  border-color: rgba(229, 62, 62, 0.15);
}
.fd-guide__card--info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.02));
  border-color: rgba(59, 130, 246, 0.15);
}

/* --- Steps --- */
.fd-guide__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.fd-guide__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.fd-guide__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary, #e53e3e);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 50%;
}
.fd-guide__step strong {
  display: block;
  font-size: 1rem;
  color: var(--gray-900, #111827);
  margin-bottom: 4px;
}
.fd-guide__step p {
  font-size: 0.92rem;
  margin: 0;
}

/* --- Feature Grid --- */
.fd-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.fd-guide__feature {
  background: var(--gray-50, #f9fafb);
  border-radius: 12px;
  padding: 20px;
}
.fd-guide__feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-900, #111827);
  margin-bottom: 6px;
}
.fd-guide__feature p {
  font-size: 0.85rem;
  color: var(--gray-500, #6b7280);
  line-height: 1.6;
  margin: 0;
}

/* --- List --- */
.fd-guide__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}
.fd-guide__list li {
  position: relative;
  padding: 10px 0 10px 24px;
  color: var(--gray-600, #4b5563);
  line-height: 1.6;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--gray-50, #f9fafb);
}
.fd-guide__list li:last-child {
  border-bottom: none;
}
.fd-guide__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--primary, #e53e3e);
  border-radius: 50%;
}
.fd-guide__list li strong {
  color: var(--gray-900, #111827);
}

/* --- Table --- */
.fd-guide__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-100, #f0f0f0);
  font-size: 0.88rem;
}
.fd-guide__table thead th {
  background: var(--gray-50, #f9fafb);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--gray-700, #374151);
  border-bottom: 2px solid var(--gray-100, #f0f0f0);
}
.fd-guide__table tbody td {
  padding: 12px 16px;
  color: var(--gray-600, #4b5563);
  border-bottom: 1px solid var(--gray-50, #f9fafb);
}
.fd-guide__table tbody tr:last-child td {
  border-bottom: none;
}
.fd-guide__table tbody tr:hover {
  background: rgba(229, 62, 62, 0.02);
}

/* --- Badges --- */
.fd-guide__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fd-guide__badge--gray {
  background: var(--gray-100, #f0f0f0);
  color: var(--gray-600, #4b5563);
}
.fd-guide__badge--blue {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}
.fd-guide__badge--red {
  background: rgba(229, 62, 62, 0.12);
  color: #c53030;
}

/* --- FAQ Accordion --- */
.fd-guide__faq {
  background: #fff;
  border: 1px solid var(--gray-100, #f0f0f0);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.fd-guide__faq:hover {
  border-color: var(--gray-200, #e5e7eb);
}
.fd-guide__faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800, #1f2937);
  gap: 16px;
}
.fd-guide__faq-q svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gray-400, #9ca3af);
}
.fd-guide__faq-q:hover {
  color: var(--primary, #e53e3e);
}
.fd-guide__faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}
.fd-guide__faq-a p {
  color: var(--gray-600, #4b5563);
  line-height: 1.7;
  font-size: 0.9rem;
  margin: 0;
}
.fd-guide__faq-a a {
  color: var(--primary, #e53e3e);
  text-decoration: underline;
}

/* FAQ open state */
.fd-guide__faq--open {
  border-color: rgba(229, 62, 62, 0.2);
}
.fd-guide__faq--open .fd-guide__faq-q {
  color: var(--primary, #e53e3e);
}
.fd-guide__faq--open .fd-guide__faq-q svg {
  transform: rotate(180deg);
  color: var(--primary, #e53e3e);
}
.fd-guide__faq--open .fd-guide__faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* --- CTA Section --- */
.fd-guide__cta {
  text-align: center;
  padding: 56px 32px;
  background: linear-gradient(135deg, var(--gray-900, #111827), #1e293b);
  border-radius: 20px;
  margin-top: 48px;
}
.fd-guide__cta h2 {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 12px 0;
}
.fd-guide__cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin: 0 0 28px 0;
}
.fd-guide__cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .fd-guide-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .fd-guide-nav__item {
    padding: 14px 8px;
    font-size: 0.78rem;
  }
  .fd-guide-nav__icon {
    font-size: 1.3rem;
  }
  .fd-guide__section-header h2 {
    font-size: 1.3rem;
  }
  .fd-guide__section-number {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .fd-guide__card {
    padding: 24px 20px;
    border-radius: 12px;
  }
  .fd-guide__feature-grid {
    grid-template-columns: 1fr;
  }
  .fd-guide__table {
    font-size: 0.8rem;
  }
  .fd-guide__table thead th,
  .fd-guide__table tbody td {
    padding: 10px 12px;
  }
  .fd-guide__faq-q {
    padding: 16px 18px;
    font-size: 0.88rem;
  }
  .fd-guide__faq--open .fd-guide__faq-a {
    padding: 0 18px 16px;
  }
  .fd-guide__cta {
    padding: 40px 20px;
    border-radius: 14px;
  }
  .fd-guide__cta h2 {
    font-size: 1.3rem;
  }
  .fd-guide__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .fd-guide-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .fd-guide__section-header {
    gap: 12px;
  }
  .fd-guide__step {
    gap: 12px;
  }
}
