/* ==========================================================================
   ProBodyGym — Design Tokens
   ========================================================================== */
:root {
  /* Color */
  --c-bg: #0a0a0c;
  --c-bg-alt: #111114;
  --c-surface: #1a1a1f;
  --c-surface-2: #232329;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-strong: rgba(255, 255, 255, 0.16);
  --c-text: #f5f5f6;
  --c-text-muted: #a6a6ad;
  --c-text-faint: #8c8c94;
  --c-white: #ffffff;
  --c-black: #050506;
  --c-red: #e2231a;
  --c-red-dark: #8f1712;
  --c-red-darker: #4a0d0a;
  --c-red-light: #ff5c52;
  --c-red-glow: rgba(226, 35, 26, 0.45);
  --c-success: #2ecc71;
  --c-gold: #d4a72c;
  --c-gold-light: #f2ca4c;
  --c-gold-dark: #8a6a16;

  /* Gradients */
  --g-red: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
  --g-gold: linear-gradient(135deg, var(--c-gold-light) 0%, var(--c-gold) 60%, var(--c-gold-dark) 100%);
  --g-hero: radial-gradient(60% 60% at 80% 20%, rgba(226, 35, 26, 0.18), transparent 70%),
            radial-gradient(50% 50% at 15% 80%, rgba(143, 23, 18, 0.22), transparent 70%),
            var(--c-bg);

  /* Typography */
  --f-family: 'Heebo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-family-display: 'Rubik', 'Heebo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-size-xs: 0.75rem;
  --f-size-sm: 0.875rem;
  --f-size-base: 1rem;
  --f-size-md: 1.125rem;
  --f-size-lg: 1.375rem;
  --f-size-xl: 1.75rem;
  --f-size-2xl: 2.25rem;
  --f-size-3xl: 3rem;
  --f-size-4xl: 4rem;

  /* Spacing (4/8 rhythm) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-full: 999px;

  /* Shadow */
  --sh-elev: 0 10px 30px rgba(0, 0, 0, 0.45);
  --sh-elev-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --sh-red: 0 16px 40px -8px var(--c-red-glow);

  /* Motion */
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;
  --dur-slower: 1000ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body { min-height: 100dvh; }

body {
  font-family: var(--f-family);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: var(--f-size-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--f-family-display); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-fill { fill: currentColor; stroke: none; }

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

:focus-visible {
  outline: 2px solid var(--c-red-light);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: var(--sp-9); position: relative; }
.section-alt { background: var(--c-bg-alt); }

.section-head {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--sp-8);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-red-light);
  font-weight: 700;
  font-size: var(--f-size-sm);
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 0 4px var(--c-red-glow);
}

.section-title {
  font-size: clamp(1.9rem, 1.5rem + 1.9vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}
.accent { color: var(--c-red); }
.accent-gold { color: var(--c-gold-light); }

.section-sub {
  color: var(--c-text-muted);
  font-size: var(--f-size-md);
}

.grid {
  display: grid;
  gap: var(--sp-5);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 15px 28px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--f-size-base);
  white-space: nowrap;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--g-red);
  color: var(--c-white);
  box-shadow: var(--sh-red);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 48px -8px var(--c-red-glow); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-text);
  border: 1px solid var(--c-border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: var(--f-size-sm); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.header.is-scrolled {
  background: rgba(10, 10, 12, 0.85);
  border-color: var(--c-border);
  box-shadow: var(--sh-elev);
}

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

.brand { display: flex; align-items: center; gap: var(--sp-2); font-weight: 900; font-size: var(--f-size-lg); }
.brand-logo {
  height: 46px;
  width: auto;
  border-radius: var(--r-sm);
}

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: var(--sp-6); }
.nav-desktop a {
  position: relative;
  font-weight: 600;
  font-size: var(--f-size-sm);
  color: var(--c-text-muted);
  padding-block: var(--sp-2);
  transition: color var(--dur-base) var(--ease-out);
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0; left: auto;
  width: 0; height: 2px;
  background: var(--c-red);
  transition: width var(--dur-base) var(--ease-out);
  border-radius: var(--r-full);
}
.nav-desktop a:hover { color: var(--c-white); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { width: 100%; }
.nav-desktop a.is-active { color: var(--c-white); }

.header-cta { display: none; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  color: var(--c-white);
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile nav panel */
.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  height: calc(100dvh - var(--header-h));
  background: #0a0a0c;
  backdrop-filter: blur(20px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: var(--sp-7) var(--sp-5);
  gap: var(--sp-2);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out),
              visibility 0s linear var(--dur-slow);
}
.nav-mobile.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out),
              visibility 0s;
}
.nav-mobile a {
  font-size: var(--f-size-xl);
  font-weight: 700;
  color: var(--c-text);
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--c-border);
}
.nav-mobile .btn { margin-top: var(--sp-5); }

@media (min-width: 1024px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: var(--c-bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: blur(4px);
  animation: heroKenBurns 24s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.14); }
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.8) 38%, rgba(10, 10, 12, 0.4) 68%, rgba(10, 10, 12, 0.12) 100%),
    linear-gradient(to top, rgba(10, 10, 12, 0.55) 0%, transparent 42%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
}

.hero-blob {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
  mix-blend-mode: screen;
}
.hero-blob--1 {
  width: 460px; height: 460px;
  background: var(--c-red);
  top: -120px; inset-inline-end: -140px;
  animation: floatA 16s var(--ease-in-out) infinite;
}
.hero-blob--2 {
  width: 380px; height: 380px;
  background: var(--c-red-dark);
  bottom: -160px; inset-inline-start: -120px;
  animation: floatB 20s var(--ease-in-out) infinite;
}
@keyframes floatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.08); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--sp-8);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero-content { max-width: 620px; margin: 0 auto; }

.hero-title {
  font-size: clamp(2.5rem, 2rem + 3vw, var(--f-size-4xl));
  font-weight: 900;
  margin-bottom: var(--sp-4);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: block;
  transform: translateY(110%);
  animation: lineUp var(--dur-slow) var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 200ms);
}
@keyframes lineUp { to { transform: translateY(0); } }

.hero-title .accent { color: var(--c-red); }

.hero-sub {
  font-size: var(--f-size-lg);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-6);
  opacity: 0;
  animation: fadeUp var(--dur-slow) var(--ease-out) forwards;
  animation-delay: 650ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
  opacity: 0;
  animation: fadeUp var(--dur-slow) var(--ease-out) forwards;
  animation-delay: 780ms;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border);
  text-align: center;
  opacity: 0;
  animation: fadeUp var(--dur-slow) var(--ease-out) forwards;
  animation-delay: 900ms;
}
.hero-stat-num {
  font-family: var(--f-family-display);
  font-size: var(--f-size-2xl);
  font-weight: 900;
  color: var(--c-white);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.hero-stat-num .suffix { color: var(--c-red-light); font-size: var(--f-size-lg); }
.hero-stat-label { color: var(--c-text-muted); font-size: var(--f-size-xs); margin-top: var(--sp-1); }

.partner-cta {
  display: flex;
  flex-direction: column;
  margin-top: var(--sp-6);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.partner-cta:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 35, 26, 0.6);
  box-shadow: var(--sh-red);
}
.partner-cta-top {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
}
.partner-cta-logo {
  flex-shrink: 0;
  width: 108px;
  height: 60px;
  display: grid;
  place-items: center;
}
.partner-cta-logo img { width: 100%; height: 100%; object-fit: contain; }

.partner-cta-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.partner-cta-eyebrow {
  font-size: var(--f-size-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-red-light);
}
.partner-cta-sub { font-size: var(--f-size-sm); color: var(--c-text-muted); }

.partner-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--g-red);
  color: var(--c-white);
  font-weight: 800;
  font-size: var(--f-size-sm);
  text-align: center;
}
.partner-cta-arrow {
  width: 16px; height: 16px;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}
.partner-cta:hover .partner-cta-arrow { transform: translateX(-4px); }

.scroll-cue {
  position: absolute;
  bottom: var(--sp-6);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-text-faint);
  font-size: var(--f-size-xs);
  z-index: 2;
}
.scroll-cue .icon { animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ==========================================================================
   Section transitions (macro reveal, independent of inner .reveal timing)
   ========================================================================== */
main > section.section {
  opacity: 0;
  transform: translateY(64px) scale(0.985);
  filter: blur(6px);
  transition: opacity var(--dur-slower) var(--ease-out),
              transform var(--dur-slower) var(--ease-out),
              filter var(--dur-slower) var(--ease-out);
  will-change: opacity, transform, filter;
}
main > section.section.is-section-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger > *:nth-child(7) { transition-delay: 420ms; }
.reveal-stagger > *:nth-child(8) { transition-delay: 490ms; }

/* ==========================================================================
   Cards (generic)
   ========================================================================== */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(226, 35, 26, 0.4);
  box-shadow: var(--sh-elev-lg);
}

/* ==========================================================================
   About / Owner
   ========================================================================== */
.about-grid {
  grid-template-columns: 1fr;
  grid-template-areas: "eyebrow" "title" "sub" "stats" "photo" "button";
  align-items: stretch;
  gap: var(--sp-6);
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 380px 1fr;
    grid-template-areas:
      "photo eyebrow"
      "photo title"
      "photo sub"
      "photo stats"
      "photo button";
  }
}

.about-grid > .eyebrow { grid-area: eyebrow; }
.about-grid > .about-title { grid-area: title; }
.about-grid > .section-sub { grid-area: sub; }
.about-grid > .about-stats { grid-area: stats; }
.about-grid > .owner-card { grid-area: photo; }
.about-grid > .about-cta { grid-area: button; }

.owner-card {
  padding: var(--sp-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 640px) {
  .about-grid > .owner-card { max-width: 200px; margin-inline: auto; }
}
.owner-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: var(--sp-5);
  border: 1px solid var(--c-border);
}
.owner-photo img { width: 100%; height: 100%; object-fit: cover; }
.owner-name { font-size: var(--f-size-xl); margin-bottom: var(--sp-1); }
.owner-role { color: var(--c-red-light); font-weight: 700; font-size: var(--f-size-sm); margin-bottom: var(--sp-4); }
.owner-badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; }
.hero-content .owner-badges { justify-content: flex-start; margin-bottom: var(--sp-2); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(226, 35, 26, 0.12);
  color: var(--c-red-light);
  font-size: var(--f-size-xs);
  font-weight: 700;
  border: 1px solid rgba(226, 35, 26, 0.25);
}
.badge .icon { width: 14px; height: 14px; }

.about-grid > .section-sub { color: var(--c-text-muted); font-size: var(--f-size-md); }
.about-grid > .eyebrow { color: var(--c-red-light); margin-bottom: var(--sp-2); }
.about-grid > .about-title { margin-bottom: var(--sp-4); }
.about-grid > .about-stats { margin-top: var(--sp-5); }
.about-grid > .about-cta { justify-self: start; align-self: start; margin-top: var(--sp-6); }
.about-point-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-surface-2);
  display: grid;
  place-items: center;
  color: var(--c-red-light);
  flex-shrink: 0;
}
.gold-num { color: var(--c-gold-light) !important; }

/* ==========================================================================
   Locations
   ========================================================================== */
.locations-grid { grid-template-columns: 1fr; }
@media (min-width: 860px) { .locations-grid { grid-template-columns: 1fr 1fr; } }

.location-card { overflow: hidden; display: flex; flex-direction: column; }
.location-card.is-flagship { border-color: rgba(226, 35, 26, 0.35); }

/* Converging slide-in: the two branches enter from opposite sides and meet in the middle */
.location-card.reveal {
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.location-card.is-flagship.reveal { transform: translateX(56px); }
.location-card.reveal:not(.is-flagship) { transform: translateX(-56px); }
.location-card.reveal.is-visible { transform: translateX(0); }

.location-map { width: 100%; aspect-ratio: 16/9; border: none; filter: grayscale(0.3) contrast(1.1); }

.location-body { padding: var(--sp-6); flex: 1; display: flex; flex-direction: column; }
.location-badges { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-3); flex-wrap: wrap; }
.location-title { font-size: var(--f-size-xl); margin-bottom: var(--sp-3); }
.location-meta { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.location-meta-row { display: flex; align-items: center; gap: var(--sp-3); color: var(--c-text-muted); font-size: var(--f-size-sm); }
.location-meta-row .icon { color: var(--c-red-light); width: 20px; height: 20px; }
.location-actions { display: flex; gap: var(--sp-3); margin-top: auto; flex-wrap: wrap; }

/* ==========================================================================
   Schedule
   ========================================================================== */
.schedule-tabs {
  display: inline-flex;
  gap: var(--sp-1);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: var(--sp-1);
  border-radius: var(--r-full);
  margin-inline: auto;
  margin-bottom: var(--sp-7);
}
.schedule-tab {
  padding: 10px 22px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--f-size-sm);
  color: var(--c-text-muted);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.schedule-tab.is-active { background: var(--g-red); color: var(--c-white); }
.schedule-tabs-wrap { display: flex; justify-content: center; }

.schedule-panel { display: none; }
.schedule-panel.is-active { display: block; animation: fadeUp var(--dur-base) var(--ease-out); }


.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
}
table.schedule-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.schedule-table th, .schedule-table td {
  padding: var(--sp-4) var(--sp-5);
  text-align: center;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--f-size-sm);
}
.schedule-table th {
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  font-weight: 700;
  text-transform: none;
}
.schedule-table td:first-child, .schedule-table th:first-child { text-align: start; font-weight: 700; color: var(--c-white); }
.schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.schedule-table .closed { color: var(--c-text-faint); }

/* Mobile: day-cards instead of a horizontally-scrolling table */
@media (max-width: 640px) {
  .table-wrap { overflow-x: visible; border: none; border-radius: 0; }
  table.schedule-table { min-width: 0; display: block; }
  .schedule-table thead { display: none; }
  .schedule-table tbody { display: grid; gap: var(--sp-3); }
  .schedule-table tr {
    display: block;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
  }
  .schedule-table td { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--c-border); }
  .schedule-table tr td:first-child {
    justify-content: flex-start;
    background: var(--c-surface-2);
    border-bottom: 1px solid var(--c-border);
  }
  .schedule-table tbody tr:last-child td { border-bottom: 1px solid var(--c-border); }
  .schedule-table tbody tr td:last-child { border-bottom: none; }
  .schedule-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--c-text-muted);
  }
}
.schedule-note { margin-top: var(--sp-4); font-size: var(--f-size-xs); color: var(--c-text-faint); text-align: center; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; perspective: 1200px; }
@media (min-width: 720px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }

.price-card { padding: var(--sp-7) var(--sp-6); position: relative; display: flex; flex-direction: column; }
.price-card.is-flagship {
  border-color: var(--c-red);
  background: linear-gradient(180deg, rgba(226,35,26,0.08), var(--c-surface) 40%);
}

/* Dealt-into-place: cards tilt and settle rather than just fade up */
.price-card.reveal {
  transform: translateY(36px) scale(0.92) rotateX(8deg);
  transform-origin: bottom center;
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}
.price-card.reveal.is-visible { transform: translateY(0) scale(1) rotateX(0deg); }
.pricing-grid .price-card.reveal:nth-child(2) { transition-delay: 140ms; }
.price-ribbon {
  position: absolute;
  top: 0; inset-inline-end: var(--sp-5);
  transform: translateY(-50%);
  background: var(--g-red);
  color: var(--c-white);
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: var(--f-size-xs);
  font-weight: 800;
  box-shadow: var(--sh-red);
}
.price-name { font-size: var(--f-size-md); font-weight: 700; color: var(--c-text-muted); margin-bottom: var(--sp-4); }
.price-value { display: flex; align-items: baseline; gap: var(--sp-2); margin-bottom: var(--sp-1); }
.price-old { color: var(--c-text-faint); text-decoration: line-through; font-size: var(--f-size-md); }
.price-amount { font-family: var(--f-family-display); font-size: var(--f-size-4xl); font-weight: 900; color: var(--c-white); }
.price-amount .currency { font-size: var(--f-size-lg); color: var(--c-red-light); }
.price-period { color: var(--c-text-muted); font-size: var(--f-size-sm); margin-bottom: var(--sp-6); }

.price-features { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-6); flex: 1; }
.price-feature { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--f-size-sm); color: var(--c-text); }
.price-feature .icon { color: var(--c-success); width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   App promo
   ========================================================================== */
.app-grid { grid-template-columns: 1fr; align-items: center; gap: var(--sp-8); }
@media (min-width: 900px) { .app-grid { grid-template-columns: 1fr 0.8fr; } }

.app-content .section-title { text-align: start; }
.app-content .eyebrow { justify-content: flex-start; }
.app-content .section-sub { color: var(--c-text-muted); font-size: var(--f-size-md); margin-bottom: var(--sp-6); max-width: 480px; }

.app-features { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-7); }
.app-feature { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--f-size-base); color: var(--c-text); }
.app-feature .icon { color: var(--c-success); width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }

.app-badges { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 12px 22px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.store-badge:hover { transform: translateY(-3px); border-color: var(--c-red); background: var(--c-surface-2); }
.store-badge .icon { width: 26px; height: 26px; color: var(--c-white); flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.3; }
.store-badge small { font-size: 11px; color: var(--c-text-muted); }
.store-badge strong { font-size: var(--f-size-md); font-weight: 700; color: var(--c-white); }

/* Phone mockup */
.app-visual { display: flex; justify-content: center; }
.app-visual.reveal {
  transform: translateY(40px) scale(0.9);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.app-visual.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.phone-stage {
  position: relative;
  width: 250px;
  perspective: 1400px;
}
.phone-stage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 278px;
  height: 552px;
  transform: translate(-50%, -50%);
  background: #ffffff;
  opacity: 0.42;
  filter: blur(32px);
  z-index: 0;
  pointer-events: none;
}

/* Turn-in: the phone rotates from facing away to facing the copy as it enters */
.phone-rotator {
  transform: rotateY(34deg);
  transition: transform 1100ms var(--ease-out);
  transform-style: preserve-3d;
}
.app-visual.reveal.is-visible .phone-rotator {
  transform: rotateY(0deg);
}
@media (prefers-reduced-motion: reduce) {
  .phone-rotator { transition: none; }
}

.phone-frame {
  width: 250px;
  aspect-ratio: 9 / 19;
  background: var(--c-black);
  border: 3px solid var(--c-surface-2);
  border-radius: 36px;
  padding: 10px;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(6deg) rotateZ(-1deg);
  box-shadow:
    30px 45px 70px -20px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: phoneFloat 6s ease-in-out infinite;
  animation-delay: 1100ms;
}

@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-16deg) rotateX(6deg) rotateZ(-1deg) translateY(0); }
  50% { transform: rotateY(-13deg) rotateX(4deg) rotateZ(-1deg) translateY(-16px); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-frame { animation: none; }
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: var(--c-black);
  border-radius: var(--r-full);
  z-index: 2;
}
.phone-screen {
  height: 100%;
  background: var(--g-hero);
  border-radius: 26px;
  padding: var(--sp-6) var(--sp-3) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  overflow: hidden;
}
.phone-header { text-align: center; margin-bottom: var(--sp-2); }
.phone-header-logo { font-weight: 900; font-size: var(--f-size-sm); color: var(--c-white); }
.phone-header-logo em { color: var(--c-red-light); font-style: normal; }

.phone-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-3);
}
.phone-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--g-red);
  display: grid; place-items: center;
  color: var(--c-white);
  flex-shrink: 0;
}
.phone-avatar .icon { width: 18px; height: 18px; }
.phone-card-title { font-size: var(--f-size-xs); font-weight: 700; color: var(--c-white); }
.phone-card-sub { font-size: 10px; color: var(--c-text-muted); margin-top: 2px; }

.phone-btn {
  background: var(--g-red);
  color: var(--c-white);
  text-align: center;
  font-size: var(--f-size-xs);
  font-weight: 700;
  padding: 10px;
  border-radius: var(--r-full);
  box-shadow: var(--sh-red);
}

.phone-row { display: flex; gap: var(--sp-2); }
.phone-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: var(--sp-2);
  font-size: 10px;
  color: var(--c-text-muted);
}
.phone-chip .icon { width: 13px; height: 13px; color: var(--c-red-light); }

.phone-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-border);
}
.phone-nav .icon { width: 18px; height: 18px; color: var(--c-text-faint); }
.phone-nav .icon:first-child { color: var(--c-red-light); }

/* ==========================================================================
   Trainers (used on mma.html)
   ========================================================================== */
.trainers-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trainer-card { padding: var(--sp-5); text-align: center; }

/* Placed-down-at-an-angle reveal, distinct from the generic stagger fade */
.trainers-grid.reveal-stagger > .trainer-card {
  transform: translateY(24px) rotate(-6deg) scale(0.86);
}
.trainers-grid.reveal-stagger.is-visible > .trainer-card {
  transform: translateY(0) rotate(0deg) scale(1);
}
.trainer-avatar {
  width: 84px; height: 84px;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  background: var(--g-red);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-red);
}
.trainer-avatar span {
  font-family: var(--f-family-display);
  font-weight: 800;
  font-size: var(--f-size-lg);
  color: var(--c-white);
}
.trainer-name { font-size: var(--f-size-md); margin-bottom: 2px; }
.trainer-role { color: var(--c-red-light); font-size: var(--f-size-xs); font-weight: 700; }
.trainer-bio { color: var(--c-text-muted); font-size: var(--f-size-sm); margin-top: var(--sp-3); line-height: 1.6; }

.private-lesson-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  padding: var(--sp-5);
}
.private-lesson-icon {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  background: var(--g-red); color: var(--c-white);
  display: grid; place-items: center; flex-shrink: 0;
}
.private-lesson-text { flex: 1; min-width: 220px; }
.private-lesson-text h3 { font-size: var(--f-size-base); margin-bottom: 4px; }
.private-lesson-text p { color: var(--c-text-muted); font-size: var(--f-size-sm); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Training Groups
   ========================================================================== */
.groups-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 900px) { .groups-layout { grid-template-columns: 1fr 1fr; } }

.groups-visual {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.groups-photo-main.gallery-item { aspect-ratio: 3 / 4; border-radius: var(--r-lg); }
.groups-photo-side.gallery-item { aspect-ratio: auto; height: 100%; border-radius: var(--r-lg); }

.groups-glove {
  position: absolute;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  z-index: 0;
}
.groups-glove--1 {
  width: 108px; height: 108px;
  top: -30px; inset-inline-end: -26px;
  color: var(--c-red);
  opacity: 0.16;
  transform: rotate(18deg);
}
.groups-glove--2 {
  width: 64px; height: 64px;
  bottom: 14%; inset-inline-start: -22px;
  color: var(--c-gold);
  opacity: 0.18;
  transform: rotate(-16deg);
}

.groups-seal {
  position: absolute;
  bottom: -22px;
  inset-inline-start: 56%;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--g-gold);
  border: 4px solid var(--c-bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: var(--sh-elev-lg);
  transform: rotate(-9deg);
  z-index: 2;
}
.groups-seal .icon { width: 30px; height: 30px; color: var(--c-bg); stroke-width: 1.6; }
.groups-seal span {
  font-family: var(--f-family-display);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--c-bg);
}

.groups-title { margin-bottom: var(--sp-4); }
.groups-stats { margin-top: var(--sp-6); }
.groups-cta { margin-top: 38px; }

.functional-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 900px) { .functional-layout { grid-template-columns: 1fr 1fr; } }

.functional-text .section-title { margin-top: var(--sp-2); }
.functional-points { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-5); }
.functional-points li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-text-muted);
  font-size: var(--f-size-sm);
}
.functional-points .icon { color: var(--c-red-light); flex-shrink: 0; width: 18px; height: 18px; }

.functional-photos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.functional-photos .gallery-item {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
}
.functional-photos .gallery-item:last-child { margin-top: var(--sp-8); }
.functional-glow {
  position: absolute;
  top: -10%;
  inset-inline-start: 20%;
  width: 70%;
  height: 70%;
  background: var(--c-red);
  filter: blur(90px);
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--c-border);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 50%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .icon {
  position: absolute; bottom: var(--sp-3); inset-inline-start: var(--sp-3);
  width: 22px; height: 22px; color: var(--c-white);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.gallery-item:hover .icon { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,5,6,0.92);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
  padding: var(--sp-6);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-base) var(--ease-out); }
.lightbox-inner { max-width: 720px; width: 100%; transform: scale(0.94); transition: transform var(--dur-base) var(--ease-out); }
.lightbox.is-open .lightbox-inner { transform: scale(1); }
.lightbox img { width: 100%; border-radius: var(--r-md); }
.lightbox-close {
  position: absolute; top: var(--sp-5); inset-inline-end: var(--sp-5);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: var(--c-white);
  display: grid; place-items: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.16); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-wrap { max-width: 720px; margin-inline: auto; position: relative; }

/* Pop-in: the quote scales up from a smaller state instead of just fading up */
.testi-wrap.reveal {
  transform: scale(0.88);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.testi-wrap.reveal.is-visible { transform: scale(1); }
.testi-wrap.reveal .icon-quote {
  transform: scale(0.5) rotate(-12deg);
  transition: transform 550ms var(--ease-out) 150ms;
}
.testi-wrap.reveal.is-visible .icon-quote { transform: scale(1) rotate(0deg); }
.testi-track-viewport { overflow: hidden; border-radius: var(--r-lg); }
.testi-track { display: flex; transition: transform var(--dur-slow) var(--ease-out); }
.testi-slide { flex: 0 0 100%; padding: var(--sp-2); }
.testi-card { padding: var(--sp-7); text-align: center; }
.testi-card .icon-quote { width: 32px; height: 32px; color: var(--c-red); margin-inline: auto; margin-bottom: var(--sp-4); }
.testi-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: var(--sp-4); color: var(--c-red-light); }
.testi-stars .icon { width: 16px; height: 16px; }
.testi-text { font-size: var(--f-size-md); color: var(--c-text); margin-bottom: var(--sp-5); }
.testi-author { font-weight: 700; }
.testi-role { color: var(--c-text-muted); font-size: var(--f-size-sm); }

.testi-controls { display: flex; justify-content: center; align-items: center; gap: var(--sp-5); margin-top: var(--sp-6); }
.testi-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-surface); border: 1px solid var(--c-border);
  display: grid; place-items: center;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.testi-arrow:hover { background: var(--c-surface-2); border-color: var(--c-border-strong); }
.testi-dots { display: flex; gap: var(--sp-2); }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-border-strong); transition: background var(--dur-base), width var(--dur-base); }
.testi-dot.is-active { background: var(--c-red); width: 22px; border-radius: var(--r-full); }

.disclaimer-note {
  text-align: center;
  color: var(--c-text-faint);
  font-size: var(--f-size-xs);
  margin-top: var(--sp-5);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-row {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5);
}
.contact-row-icon {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--g-red); color: var(--c-white);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-row h3 { font-size: var(--f-size-base); margin-bottom: 2px; }
.contact-row p { color: var(--c-text-muted); font-size: var(--f-size-sm); }
.contact-row a:hover { color: var(--c-red-light); }

.social-row { display: flex; gap: var(--sp-3); margin-top: var(--sp-2); }
.social-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-surface); border: 1px solid var(--c-border);
  display: grid; place-items: center;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.social-btn:hover { background: var(--g-red); transform: translateY(-3px); border-color: transparent; }

.contact-form { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); }

/* Unfold: the form scales up from its top edge instead of fading up */
.contact-form.reveal {
  transform-origin: top center;
  transform: scaleY(0.82) translateY(20px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}
.contact-form.reveal.is-visible { transform: scaleY(1) translateY(0); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-size: var(--f-size-sm); font-weight: 700; }
.field input, .field textarea {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-size: var(--f-size-base);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px var(--c-red-glow);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-required { color: var(--c-red-light); }
.form-note { font-size: var(--f-size-xs); color: var(--c-text-faint); text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding-block: var(--sp-8) var(--sp-6);
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-alt);
}
.footer-top { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; margin-bottom: var(--sp-7); }
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand p { color: var(--c-text-muted); font-size: var(--f-size-sm); margin-top: var(--sp-3); max-width: 320px; }
.footer-col h5 { font-size: var(--f-size-sm); color: var(--c-text-muted); margin-bottom: var(--sp-4); letter-spacing: .04em; }
.footer-col ul { display: grid; gap: var(--sp-3); }
.footer-col a { font-size: var(--f-size-sm); color: var(--c-text); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--c-red-light); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: space-between; align-items: center;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
  color: var(--c-text-faint);
  font-size: var(--f-size-xs);
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.fab-whatsapp {
  position: fixed;
  bottom: var(--sp-5);
  inset-inline-start: var(--sp-5);
  z-index: 80;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--c-white);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform var(--dur-base) var(--ease-out);
  animation: pulseFab 2.6s ease-in-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp .icon { width: 30px; height: 30px; }
@keyframes pulseFab {
  0%, 100% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  .fab-whatsapp { animation: none; }
  .hero-blob--1, .hero-blob--2 { animation: none; }
}

/* ==========================================================================
   Mobile refinements — tighter rhythm, decoration trimmed, nothing squeezed
   ========================================================================== */
@media (max-width: 640px) {
  /* Shorter fixed header frees up screen real estate; --header-h cascades
     into hero padding-top and the mobile nav's height/offset automatically. */
  :root { --header-h: 64px; }
  .brand-logo { height: 34px; }

  /* Sections were tuned for desktop scroll pacing; on a phone that much
     dead air just means more thumb-scrolling to reach the next idea. */
  .section { padding-block: var(--sp-7); }

  /* Stacked two-column layouts don't need desktop-scale gaps between
     the parts once they're no longer side-by-side. */
  .groups-layout,
  .functional-layout,
  .app-grid { gap: var(--sp-6); }

  /* Ambient corner glows sized for a 1200px+ canvas read as a reddish
     haze on a 375px screen — scale them down rather than remove the
     depth entirely. */
  .hero-blob--1 { width: 240px; height: 240px; }
  .hero-blob--2 { width: 190px; height: 190px; }

  /* Purely decorative sticker icons; on a narrow photo pair they compete
     with the photos instead of framing them, so they're cut on mobile. */
  .groups-glove { display: none; }
  .groups-seal { width: 78px; height: 78px; }
  .groups-seal .icon { width: 24px; height: 24px; }
  .groups-seal span { font-size: 6.5px; }

  /* Card padding tuned for wide desktop cards eats too much of a narrow
     phone card's width — pull it in so the text gets the room instead. */
  .testi-card { padding: var(--sp-5); }
  .price-card { padding: var(--sp-6) var(--sp-5); }
  .owner-card { padding: var(--sp-5); }
  .location-body { padding: var(--sp-5); }

  .partner-cta-logo { width: 84px; height: 46px; }

  /* Center the standalone CTAs so they read as a deliberate button, not
     a left-pinned element floating off to one side. */
  .about-grid > .about-cta { justify-self: center; }
  .app-badges { justify-content: center; }

  /* The swipeable one-at-a-time carousel relies on a swipe gesture or an
     auto-rotate timer to reveal the other reviews — easy to miss on a
     phone (especially with reduced-motion on, which stops the timer).
     Stack every review instead so they're all visible on scroll. */
  .testi-track-viewport { overflow: visible; }
  .testi-track { display: block; transform: none !important; }
  .testi-slide { width: 100%; }
  .testi-controls { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: var(--sp-2); }
  .hero-stat-num { font-size: var(--f-size-lg); }
  .hero-stat-num .suffix { font-size: var(--f-size-base); }
  .hero-stat-label { font-size: 0.65rem; line-height: 1.3; }
}
