/* Sample Fitness Gym. One stylesheet. A fully dark site: near-black page, rounded surface cards,
   no ruling lines, red shine accents. Every radius uses a token. Gradients are red, white or charcoal only.
   Motion: below-the-fold content rises in as you scroll (added by main.js), photos settle from a slight
   zoom, the hero photo drifts slower than the page. All of it is off under prefers-reduced-motion. */

/* Fonts */
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed Fallback";
  src: local("Arial Narrow Bold"), local("ArialNarrow-Bold");
  font-weight: 700;
  size-adjust: 91.84%;
  ascent-override: 108.89%;
  descent-override: 21.78%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Sans 3 Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 92.91%;
  ascent-override: 110.21%;
  descent-override: 43.05%;
  line-gap-override: 0%;
}

/* Tokens */
:root {
  --ink: #16181B;
  --ink-2: #23262B;
  --paper: #FFFFFF;
  --paper-2: #F2F3F4;
  --line: #D6D9DD;
  --text-muted: #545A62;
  --on-dark: #F4F4F1;
  --on-dark-muted: #B3B7BD;
  --accent: #D42A24;
  --accent-hover: #B91F1A;
  --accent-on-dark: #FF5A52;

  /* Dark surfaces */
  --page: #0F1012;
  --surface: #191B1F;
  --surface-2: #22252A;

  /* Context colours (the whole site is dark) */
  --bg: var(--page);
  --text: var(--on-dark);
  --muted: var(--on-dark-muted);
  --link: var(--accent-on-dark);
  --accent-text: var(--accent-on-dark);
  --row-bg: rgba(255, 255, 255, 0.05);
  --today-bg: rgba(255, 90, 82, 0.16);
  --focus: var(--on-dark);
  --footer-bg: #0B0C0D;
  --tint-red: var(--tint-red);
  --soft-1: rgba(255, 255, 255, 0.14);
  --soft-2: rgba(255, 255, 255, 0.06);
  --soft-hover: rgba(255, 255, 255, 0.05);
  --edge: rgba(255, 255, 255, 0.05);
  --edge-strong: rgba(255, 255, 255, 0.18);
  --card-shadow: 0 0 0 transparent;
  --glass-bar: rgba(25, 27, 31, 0.82);
  --bar-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --invert-bg: var(--on-dark);
  --invert-text: var(--ink);
  color-scheme: dark;

  /* Shape. Buttons use --radius-md (14px), far from a pill at 48px tall. */
  --radius-0: 0;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Shine */
  --sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  --shine-red: linear-gradient(180deg, #E0443D 0%, #D42A24 50%, #B91F1A 100%);
  --glow-red: radial-gradient(700px 360px at 100% 0%, rgba(212, 42, 36, 0.3), rgba(212, 42, 36, 0) 65%);
  --shadow-red: 0 8px 20px rgba(212, 42, 36, 0.32);
  --shadow-lift: 0 18px 40px rgba(0, 0, 0, 0.45);

  --font-head: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Source Sans 3 Fallback", Arial, sans-serif;
  --gutter: 16px;
  --max: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
  :root { --gutter: 24px; }
}

/* Light theme is the default: it applies unless the visitor picked dark (toggle in the header).
   The hero photo panel and the lightbox stay dark in both themes. */
:root:not([data-theme="dark"]) {
  --page: #F2F3F5;
  --surface: #FFFFFF;
  --surface-2: #E9EBEE;
  --footer-bg: #E6E8EB;
  --text: var(--ink);
  --muted: var(--text-muted);
  --link: var(--accent-hover);
  --accent-text: var(--accent-hover);
  --row-bg: #FFFFFF;
  --today-bg: rgba(212, 42, 36, 0.1);
  --focus: var(--ink);
  --tint-red: rgba(212, 42, 36, 0.1);
  --soft-1: rgba(22, 24, 27, 0.08);
  --soft-2: rgba(22, 24, 27, 0.04);
  --soft-hover: rgba(22, 24, 27, 0.05);
  --edge: rgba(255, 255, 255, 0.9);
  --edge-strong: rgba(255, 255, 255, 0.9);
  --card-shadow: 0 1px 2px rgba(16, 18, 27, 0.05), 0 10px 28px rgba(16, 18, 27, 0.08);
  --glass-bar: rgba(255, 255, 255, 0.82);
  --bar-shadow: 0 10px 30px rgba(16, 18, 27, 0.12);
  --sheen: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
  --glow-red: radial-gradient(700px 360px at 100% 0%, rgba(212, 42, 36, 0.14), rgba(212, 42, 36, 0) 65%);
  --invert-bg: var(--ink);
  --invert-text: var(--paper);
  color-scheme: light;
}

/* Kept for markup compatibility: sections follow the active theme. */
.dark { color: var(--text); }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--page); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  padding-bottom: 96px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7.5vw, 5rem); text-transform: uppercase; }
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: 96px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: 64px; }
.section--alt { background: transparent; }
@media (min-width: 768px) {
  .section { padding-block: 96px; }
}
.label {
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.lead { max-width: 40rem; font-size: 1.1875rem; color: var(--muted); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--on-dark);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus { top: 8px; }
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* App-icon style tile behind feature and contact icons */
.feature > .icon,
.contact-card > .icon {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: var(--radius-md);
  background: var(--shine-red);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--shadow-red);
}

/* Shared surface: rounded dark cards with a faint top sheen, no borders */
.plan, .feature, .quote, .trainer, .contact-card, .faq details, .facts div, .map, .info-card, .social-line a {
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  background-image: var(--sheen);
  box-shadow: inset 0 1px 0 var(--edge), var(--card-shadow);
}

/* Buttons and links */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  background: var(--shine-red);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.18), var(--shadow-red);
}
.btn--primary:hover { background: var(--invert-bg); color: var(--invert-text); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.btn--secondary {
  background: linear-gradient(180deg, var(--soft-1) 0%, var(--soft-2) 100%);
  color: var(--text);
  box-shadow: inset 0 1px 0 var(--edge-strong);
}
.btn--secondary:hover { background: var(--invert-bg); color: var(--invert-text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack .btn { width: 100%; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  font-weight: 600;
  color: var(--link);
}

/* Header: a floating frosted bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px var(--gutter) 0;
}
.site-header .header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  min-height: 64px;
  max-width: var(--max);
  padding: 0 8px 0 14px;
  border-radius: var(--radius-lg);
  background-color: var(--glass-bar);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: inset 0 1px 0 var(--edge), var(--bar-shadow);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  padding-block: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand img { width: 44px; height: 44px; border-radius: var(--radius-md); }
@media (max-width: 419px) {
  .brand { gap: 10px; font-size: 1.0625rem; }
  .brand img { width: 38px; height: 38px; border-radius: var(--radius-sm); }
}
.menu-toggle, .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--soft-1) 0%, var(--soft-2) 100%);
  box-shadow: inset 0 1px 0 var(--edge-strong);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle[hidden], .theme-toggle[hidden] { display: none; }
.theme-toggle { padding: 0; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (max-width: 419px) {
  .site-header .header-inner { gap: 0 8px; }
  .menu-toggle { padding: 0; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.site-nav { flex-basis: 100%; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 10px; padding: 0; list-style: none; }
.site-nav a {
  display: inline-block;
  padding: 10px 4px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-text); }
.header-call { display: none; }
@media (max-width: 899px) {
  .js .site-nav { display: none; }
  .js .menu-open .site-nav { display: block; padding-bottom: 12px; animation: menu-in 0.25s var(--ease-out); }
  .js .menu-open .site-nav ul { flex-direction: column; gap: 6px; margin: 0; }
  .js .menu-open .site-nav a { display: block; padding: 14px 16px; border-radius: var(--radius-md); background-color: var(--soft-hover); }
}
@media (min-width: 900px) {
  .menu-toggle, .menu-toggle[hidden] { display: none; }
  .site-nav { flex-basis: auto; }
  .site-nav ul { margin: 0; }
  .header-call { display: inline-flex; margin-left: 8px; }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
}

/* Hero: an inset rounded panel with the photo behind the text */
.hero { padding: 12px var(--gutter) 0; }
.hero-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  max-width: calc(var(--max) + 48px);
  min-height: min(86vh, 740px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--surface);
}
/* The photo extends past the panel so the parallax drift never shows an edge. */
.hero-img {
  position: absolute;
  top: -12%;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: 60% 40%;
  will-change: transform;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(10, 11, 12, 0.94) 0%, rgba(10, 11, 12, 0.72) 42%, rgba(10, 11, 12, 0.2) 100%),
    linear-gradient(90deg, rgba(10, 11, 12, 0.55) 0%, rgba(10, 11, 12, 0) 70%);
}
.hero-panel {
  --text: var(--on-dark);
  --muted: #D2D5D9;
  --link: var(--accent-on-dark);
  --accent-text: var(--accent-on-dark);
  --focus: var(--on-dark);
  --soft-1: rgba(255, 255, 255, 0.14);
  --soft-2: rgba(255, 255, 255, 0.06);
  --edge-strong: rgba(255, 255, 255, 0.18);
  --invert-bg: var(--on-dark);
  --invert-text: var(--ink);
  color: var(--text);
}
.hero-inner { width: 100%; max-width: 820px; padding: clamp(28px, 6vw, 72px); }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { display: block; color: var(--accent-text); }
.hero .lead { color: var(--muted); }

/* Info strip under the hero */
.info-strip { display: grid; gap: 12px; max-width: calc(var(--max) + 48px); margin: 12px auto 0; padding: 0 var(--gutter); list-style: none; }
.info-strip > li { display: grid; }
@media (min-width: 768px) {
  .info-strip { grid-template-columns: repeat(3, 1fr); }
}
.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px 20px;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.info-card > .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: var(--radius-sm);
  background-color: var(--tint-red);
  color: var(--accent-text);
}
.info-label { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.info-value { display: block; font-weight: 600; }
a.info-card:hover { background-color: var(--surface-2); transform: translateY(-2px); }
.info-card[data-state="closed"] > .icon { background-color: var(--soft-1); color: var(--muted); }

/* Inner page header and call-to-action band: inset rounded panels with a red glow */
.page-header, .cta-band {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max) + 48px);
  margin: 12px auto 0;
  border-radius: var(--radius-xl);
  background-color: var(--surface);
  background-image: var(--glow-red), var(--sheen);
}
.page-header { padding-block: 56px; }
.cta-band { margin-bottom: 64px; padding-block: 48px; }
.cta-band h2 { max-width: 40rem; }
@media (min-width: 768px) {
  .page-header { padding-block: 88px; }
  .cta-band { margin-bottom: 96px; padding-block: 72px; }
}

/* Open-now line (contact page) */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.status[data-state="open"] { color: var(--text); }
.status[data-state="closed"] .icon { color: var(--accent-text); }

/* Plans */
.plans { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 768px) {
  .plans { grid-template-columns: 1fr 1fr; }
}
.plan { display: flex; flex-direction: column; gap: 16px; padding: 30px 28px; }
.plan--featured {
  background-image: var(--glow-red), var(--sheen);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px rgba(212, 42, 36, 0.14);
}
.plan h3 { margin: 0; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0; }
.price-figure {
  font-family: var(--font-head);
  font-size: clamp(3.25rem, 9vw, 4.75rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
/* Barlow Condensed has no rupee glyph, so the sign uses the body font. */
.rupee { font-family: var(--font-body); font-weight: 700; font-size: 0.8em; }
.price-unit { font-weight: 600; color: var(--muted); }
.checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.checklist .icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  margin-top: 1px;
  border-radius: var(--radius-sm);
  background-color: var(--tint-red);
  color: var(--accent-text);
}
.plan .btn { align-self: flex-start; margin-top: auto; }
.more { margin: 28px 0 0; }
.more a { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font-weight: 600; }
.more a .icon { transition: transform 0.3s var(--ease); }
.more a:hover .icon { transform: translateX(4px); }
.note { margin: 24px 0 0; font-weight: 600; }

/* Features */
.features { display: grid; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
@media (min-width: 600px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(4, 1fr); }
}
.feature { padding: 26px; transition: background-color 0.3s var(--ease), transform 0.3s var(--ease); }
.feature:hover { background-color: var(--surface-2); transform: translateY(-3px); }
.feature > .icon { margin-bottom: 18px; }
.feature h3 { font-size: 1.375rem; }
.feature p { margin: 0; color: var(--muted); }

/* Photo tiles: rounded frames, the photo zooms slowly inside on hover */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.tiles > li, .tile-link { display: block; overflow: hidden; border-radius: var(--radius-md); background-color: var(--surface); }
@media (min-width: 900px) {
  .tiles > li, .tile-link { border-radius: var(--radius-lg); }
}
.tiles img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s var(--ease-out), opacity 0.4s var(--ease); }
.tiles > li:hover img { transform: scale(1.06); }
.tile-link:hover img { transform: scale(1.06); opacity: 0.85; }

/* Reviews */
.quotes { display: grid; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
}
.quote { height: 100%; margin: 0; padding: 22px 26px 26px; }
.quote::before {
  content: "\201C";
  display: block;
  height: 40px;
  font-family: var(--font-head);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent-text);
}
.quote blockquote { margin: 0 0 16px; font-size: 1.125rem; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-weight: 600; color: var(--muted); }

/* Visit and hours: grouped rows instead of ruled lines */
.visit-grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 3fr 2fr; align-items: start; }
}
.address { display: flex; gap: 10px; margin-bottom: 20px; font-style: normal; color: var(--muted); }
.hours { width: 100%; max-width: 34rem; border-collapse: separate; border-spacing: 0 6px; }
.hours th, .hours td {
  padding: 12px 14px;
  background-color: var(--row-bg);
  text-align: left;
  vertical-align: top;
}
.hours th {
  font-weight: 600;
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}
.hours td {
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}
.hours tr.is-today th, .hours tr.is-today td { background-color: var(--today-bg); font-weight: 700; }

/* Footer */
.site-footer { padding-block: 56px 28px; background-color: var(--footer-bg); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.2fr 1.6fr 0.8fr 0.8fr; }
}
.footer-name { margin-bottom: 8px; font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; }
.footer-heading { font-size: 1.25rem; letter-spacing: 0.06em; }
.site-footer address { margin-bottom: 12px; font-style: normal; color: var(--muted); }
.site-footer a { color: var(--text); transition: color 0.25s var(--ease); }
.site-footer a:hover { color: var(--accent-text); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding: 10px 0; }
.social { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.social a:hover { background-color: var(--surface-2); }
.footer-bottom { margin-top: 40px; font-size: 0.9375rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* Sticky call bar (phones): floating frosted panel */
.mobile-bar {
  position: fixed;
  right: 8px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  left: 8px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-lg);
  background-color: var(--glass-bar);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: inset 0 1px 0 var(--edge), var(--bar-shadow);
}
.mobile-bar .btn { width: 100%; padding-inline: 8px; }
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
}

/* Membership */
.facts { display: grid; gap: 12px; max-width: 56rem; margin: 36px 0 0; }
@media (min-width: 600px) {
  .facts { grid-template-columns: 1fr 1fr; }
}
.facts div { display: grid; gap: 4px; padding: 18px 22px; }
.facts dt { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.facts dd { margin: 0; font-weight: 600; }
.trainers { display: grid; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) {
  .trainers { grid-template-columns: repeat(3, 1fr); }
}
.trainer { height: 100%; overflow: hidden; }
.trainer img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.trainer:hover img { transform: scale(1.05); }
.trainer-body { padding: 20px 24px 24px; }
.trainer h3 { margin-bottom: 4px; }
.trainer p { margin: 0; color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 48rem; margin-top: 36px; }
.faq details { transition: background-color 0.25s var(--ease); }
.faq details:hover, .faq details[open] { background-color: var(--surface-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--tint-red);
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-text);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Contact */
.contact-cards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}
.contact-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; }
.contact-card > .icon { margin-bottom: 4px; }
.contact-card h3, .contact-card p { margin: 0; }
.contact-card p, .contact-card address { color: var(--muted); }
.contact-card address { font-style: normal; }
.contact-card .contact-value { color: var(--text); }
.contact-card .btn { align-self: flex-start; margin-top: auto; }
.contact-value { font-family: var(--font-head); font-size: 1.75rem; }
.social-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 28px 0 0; }
.social-line a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s var(--ease);
}
.social-line a:hover { background-color: var(--surface-2); }
.map {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-top: 36px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  text-align: center;
}
@media (min-width: 768px) {
  .map { aspect-ratio: 16 / 9; }
}
.map-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Scroll motion (classes added by main.js, only to content that starts below the fold).
   .reveal: a heading block fades up once. .reveal-item: cards and photos rise in sequence;
   photos inside settle from a slight zoom. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal-item img { transform: scale(1.1); transition: transform 1.3s var(--ease-out); transition-delay: var(--delay, 0ms); }
.reveal.is-visible, .reveal-item.is-visible { opacity: 1; transform: none; }
.reveal-item.is-visible img { transform: none; }

/* Lightbox (created by JS) */
html:has(dialog[open]) { overflow: hidden; }
.lightbox {
  --focus: var(--on-dark);
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 64px 16px 24px;
  border: 0;
  background: rgba(8, 9, 10, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--on-dark);
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; animation: menu-in 0.3s var(--ease-out); }
.lightbox::backdrop { background: rgba(8, 9, 10, 0.6); }
.lightbox-figure { display: grid; justify-items: center; gap: 12px; min-height: 0; max-height: 100%; margin: 0; }
.lightbox-img {
  width: auto;
  max-width: min(100%, 1600px);
  height: auto;
  max-height: calc(100dvh - 180px);
  object-fit: contain;
  border-radius: var(--radius-lg);
}
.lightbox-caption { text-align: center; color: var(--on-dark-muted); }
.lightbox-count { margin: 0; }
.lightbox-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.07) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--on-dark);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lightbox-btn:hover { background: var(--on-dark); color: var(--ink); }
.lightbox-prev { top: 50%; left: 16px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 16px; transform: translateY(-50%); }
.lightbox-close { top: 8px; right: 16px; }

/* Theme switch transition */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal 0.7s var(--ease-out); }
@keyframes theme-reveal {
  from { clip-path: circle(0 at var(--theme-x, 50%) var(--theme-y, 0%)); }
  to { clip-path: circle(var(--theme-r, 150vmax) at var(--theme-x, 50%) var(--theme-y, 0%)); }
}
.theme-fading, .theme-fading *, .theme-fading *::before, .theme-fading *::after {
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease) !important;
}

/* Reduced motion: everything off (keep this block last) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-item, .reveal-item img { opacity: 1; transform: none; }
  .hero-img { transform: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
