/* =====================================================================
   46th Fitness Hub — website styles
   Mobile first: the basic rules are for phones; "@media (min-width: …)"
   blocks adjust the layout for wider screens.
   Sections appear in the same order as in index.html.
   ===================================================================== */


/* =====================================================================
   QUICK SETTINGS — colours, logo size, fonts
   ===================================================================== */
:root {
  /* COLOURS */
  --bg: #0d0d0d;              /* page background (near-black) */
  --bg-raised: #121212;       /* location strip, FAQ items */
  --surface: #1a1a1a;         /* cards and panels */
  --surface-2: #222222;       /* photo placeholders */
  --accent: #f5d400;          /* gym yellow: buttons, highlights */
  --accent-hover: #ffe23d;    /* yellow when a button is hovered */
  --text: #f5f5f0;            /* main text (off-white) */
  --muted: #b8b8b0;           /* secondary text (grey) */
  --line: #2e2e2e;            /* thin borders */
  --line-strong: #444444;     /* stronger borders */

  /* LOGO SIZE (height of the logo in the header) */
  --logo-height: 64px;                /* phones */
  --logo-height-tablet: 72px;         /* 768px and wider */
  --logo-height-desktop: 84px;        /* 1024px and wider */
  --footer-logo-width: 280px;         /* footer logo width (phones) */
  --footer-logo-width-desktop: 330px; /* footer logo width (768px and wider) */

  /* FONTS */
  --font-display: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* LAYOUT */
  --radius-btn: 8px;
  --radius-card: 12px;
  --max: 1200px;              /* maximum content width */
  --gutter: 20px;             /* space at the left and right of the page */
  --section: 64px;            /* space above and below each section */
  --header-h: calc(var(--logo-height) + 14px);
  --bar-h: 72px;              /* phone contact bar: 52px buttons + 20px padding */
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

@media (max-width: 359px) {
  :root { --gutter: 16px; --logo-height: 58px; }
}
@media (min-width: 768px) {
  :root { --section: 84px; --logo-height: var(--logo-height-tablet); }
}
@media (min-width: 1024px) {
  :root { --section: 96px; --logo-height: var(--logo-height-desktop); }
}


/* =====================================================================
   FONTS (files in assets/fonts; licence: assets/fonts/OFL.txt)
   Neither main font contains the rupee sign (₹), so two tiny ₹-only
   files supply it. Each ₹ face uses the same weight as its main face.
   If a font cannot load (for example some browsers opening the file
   straight from disk), the fallback fonts listed above are used.
   ===================================================================== */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/oswald-rupee.woff2") format("woff2");
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/inter-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/inter-rupee.woff2") format("woff2");
  unicode-range: U+20B9;
}
/* Size-matched system fonts, so the page jumps less while the web fonts load */
@font-face {
  font-family: "Barlow Condensed Fallback";
  src: local("Arial Narrow"), local("Arial");
  size-adjust: 82%;
  ascent-override: 115%;
  descent-override: 30%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}


/* =====================================================================
   BASICS
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* keep jump-link targets and focused items clear of the sticky header and the phone bar */
  scroll-padding-top: calc(var(--header-h) + 12px);
  scroll-padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  /* room for the phone contact bar, so it never covers the end of the page */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 600; color: var(--text); }

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
p a, .fine a {
  color: var(--text);
  font-weight: 600;
  text-decoration-color: var(--accent);
}
p a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { border-radius: var(--radius-btn); }

/* Text for screen readers only */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Icons */
.icon-set { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-wa { color: #25d366; }
.btn-primary .icon-wa { color: currentColor; }

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


/* =====================================================================
   TEXT STYLES
   ===================================================================== */
.display, .h2, .panel-title, .facility-title, .trainer-name, .step-title,
.plan-duration, .plan-price, .fee-title, .ribbon-text, .vf-title, .fitpass-label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
}
.display, .h2, .panel-title, .plan-duration, .fee-title, .trainer-name { text-transform: uppercase; }

.display {
  font-size: clamp(2.9rem, 13.6vw, 4.75rem);
  line-height: .92;
  overflow-wrap: break-word;
}
.h2 {
  font-size: clamp(2.35rem, 10vw, 4rem);
  line-height: .95;
  overflow-wrap: break-word;
}
.h2-sm { font-size: clamp(1.75rem, 7vw, 2.5rem); }

/* Small yellow label with a dash in front, e.g. "FACILITIES" */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before, .dash::before {
  content: "";
  width: 28px;
  height: 3px;
  flex: none;
  background: var(--accent);
  border-radius: 2px;
}
.dash { display: flex; align-items: center; gap: 14px; }
.dash::before { width: 26px; }

.accent { color: var(--accent); }
.lead { font-size: 1.0625rem; color: var(--muted); max-width: 36rem; }
.fine { font-size: .9375rem; color: var(--muted); }
@media (min-width: 768px) {
  .lead { font-size: 1.1875rem; }
}


/* =====================================================================
   BUTTONS AND LINKS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  font: 600 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--accent); color: #0d0d0d; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(245, 245, 240, .55); }
.btn-outline:hover { border-color: var(--text); background: rgba(245, 245, 240, .06); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; gap: 8px; }
.btn-lg { min-height: 58px; padding: 14px 28px; font-size: 1.125rem; }

.btn-row { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 480px) {
  .btn-row { display: flex; flex-wrap: wrap; }
}

/* Yellow text link with an arrow, e.g. "Search on Google Maps →" */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-arrow { transition: transform 150ms ease; }
.text-link:hover .icon-arrow { transform: translateX(3px); }


/* =====================================================================
   HEADER — logo, menu, Call the Gym
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 13, 13, .95);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding-block: 7px;
  border-radius: 6px;
}
/* LOGO SIZE: change --logo-height in QUICK SETTINGS at the top of this file */
.brand-logo {
  display: block;
  height: var(--logo-height);
  width: auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-btn);
  font: 600 .9375rem/1 var(--font-body);
  cursor: pointer;
}
.menu-toggle .icon { width: 20px; height: 20px; }
.menu-toggle[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }

/* Without JavaScript the menu links simply sit under the logo */
.site-nav { width: 100%; padding-bottom: 10px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 0 4px; }
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  border-radius: 6px;
}
.nav-list a:hover { color: var(--text); }
.nav-call { display: none; }

/* Phones and tablets with JavaScript: the Menu button opens a drop-down panel */
@media (max-width: 1023px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .5);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .js .site-header.menu-open .site-nav { display: block; }
  .js .nav-list { display: grid; gap: 0; }
  .js .nav-list a {
    display: flex;
    min-height: 52px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: .02em;
    text-transform: uppercase;
  }
  .js .nav-call { display: flex; width: 100%; min-height: 52px; margin-top: 18px; font-size: 1rem; }
}

/* Desktop: links in a row, Call the Gym on the right */
@media (min-width: 1024px) {
  .header-inner { flex-wrap: nowrap; }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    width: auto;
    padding: 0;
    margin-left: auto;
  }
  .nav-list { flex-wrap: nowrap; gap: 2px; }
  .nav-list a { padding: 0 10px; color: var(--text); font-size: .9375rem; }
  .nav-list a:hover { color: var(--accent); }
  .nav-call { display: inline-flex; }
}
@media (min-width: 1200px) {
  .site-nav { gap: 22px; }
  .nav-list a { padding: 0 13px; }
}


/* =====================================================================
   HERO — headline, buttons, main photo
   ===================================================================== */
.hero { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-copy {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 40px var(--gutter);
}
.hero .display { margin-bottom: 18px; }
.hero .lead { color: var(--text); opacity: .86; }
.hero .btn-row { margin-top: 26px; }
.hero-badge { margin-top: 26px; }
.hero-badge span {
  display: inline-block;
  padding: 8px 16px 7px;
  border-radius: 999px;
  background: var(--accent);
  color: #0d0d0d;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}
.hero-media {
  position: relative;
  aspect-ratio: 16 / 11;
  max-height: 64svh;
  overflow: hidden;
  background: var(--surface);
}
.hero-media::after { /* soft fade so the photo blends into the dark page */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 13, 13, .55) 0%, rgba(13, 13, 13, 0) 22%, rgba(13, 13, 13, 0) 80%, rgba(13, 13, 13, .5) 100%);
}
@media (min-width: 480px) {
  .hero .btn-row .btn { min-width: 200px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .hero-media { aspect-ratio: 16 / 9; max-height: 52svh; }
}
@media (min-width: 1024px) {
  .hero {
    display: grid;
    grid-template-columns: max(var(--gutter), calc((100% - var(--max)) / 2)) minmax(0, 11fr) minmax(0, 13fr);
    min-height: clamp(520px, calc(100svh - var(--header-h) - 64px), 680px);
  }
  .hero-copy {
    grid-column: 2;
    align-self: center;
    max-width: none;
    margin: 0;
    padding: 72px 48px 72px 0;
  }
  .hero-media { grid-column: 3; aspect-ratio: auto; max-height: none; }
  .hero-media img { position: absolute; inset: 0; }
  .hero-media::after {
    background: linear-gradient(90deg, rgba(13, 13, 13, 1) 0%, rgba(13, 13, 13, .55) 10%, rgba(13, 13, 13, 0) 30%),
                linear-gradient(0deg, rgba(13, 13, 13, .35) 0%, rgba(13, 13, 13, 0) 20%);
  }
  .display { font-size: clamp(4rem, 6.3vw, 6rem); }
}


/* =====================================================================
   LOCATION STRIP
   ===================================================================== */
.ribbon { background: var(--bg-raised); border-bottom: 1px solid var(--line); }
.ribbon-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  padding-block: 16px 6px;
}
.ribbon-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 212, 0, .14);
  color: var(--accent);
}
.ribbon-icon .icon { width: 22px; height: 22px; }
.ribbon-text { font-size: 1.3rem; line-height: 1.15; }
.ribbon-text .dot { color: var(--accent); padding-inline: 2px; }
.ribbon-link { grid-column: 2; justify-self: start; }
@media (min-width: 768px) {
  .ribbon-inner { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 18px; padding-block: 14px; }
  .ribbon-link { grid-column: 3; justify-self: end; }
  .ribbon-text { font-size: 1.5rem; }
}


/* =====================================================================
   FITPASS NOTICE (short strip near the top)
   ===================================================================== */
.fitpass-notice { padding-top: 20px; }
.fitpass-notice-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card);
}
.fitpass-notice p { color: var(--muted); font-size: .9375rem; }
.fitpass-notice .text-link { grid-column: 2; justify-self: start; min-height: 40px; font-size: .9375rem; }
/* "FITPASS" set as plain text (no official logo is used) */
.fitpass-label {
  display: inline-block;
  align-self: start;
  padding: 5px 9px 4px;
  border: 1.5px solid var(--text);
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: .08em;
}
@media (min-width: 768px) {
  .fitpass-notice-inner { grid-template-columns: auto minmax(0, 1fr) auto; padding: 14px 22px; gap: 18px; }
  .fitpass-label { align-self: center; }
  .fitpass-notice .text-link { grid-column: 3; }
}


/* =====================================================================
   SECTIONS (shared)
   ===================================================================== */
.section { padding-block: var(--section); }
.section-head { margin-bottom: 28px; }
.section-sub { margin-top: 14px; max-width: 44rem; color: var(--muted); font-size: 1.0625rem; }
.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
}
@media (min-width: 768px) {
  .section-head { margin-bottom: 36px; }
}

.panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
@media (min-width: 768px) {
  .panel { padding: 30px; }
}


/* =====================================================================
   FACILITIES
   ===================================================================== */
.facility-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.facility-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.facility-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.facility-body { display: flex; align-items: flex-start; gap: 14px; flex: 1; padding: 18px 18px 20px; }
.facility-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245, 212, 0, .12);
  color: var(--accent);
}
.facility-icon .icon { width: 22px; height: 22px; }
.facility-title { margin-top: 2px; font-size: 1.5rem; line-height: 1.05; }
.facility-body p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
@media (min-width: 600px) {
  .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 1024px) {
  .facility-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facility-media { aspect-ratio: 4 / 3; }
}
/* Subtle zoom on photos when hovered with a mouse */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .facility-media img, .g-link img { transition: transform 400ms var(--ease); }
  .facility-card:hover .facility-media img, .g-link:hover img { transform: scale(1.03); }
}


/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery { padding-top: 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(130px, 38vw, 240px);
  gap: 10px;
}
.g-tile { min-width: 0; }
.g-tile.span-m { grid-column: span 2; }
.g-tile figure {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-card);
}
.g-link {
  display: block;
  height: 100%;
  color: var(--text);
  border-radius: var(--radius-card);
  cursor: zoom-in;
}
.g-link:focus-visible { outline-offset: -3px; }
.g-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 10px;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, 0) 100%);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
}
.lb-hint {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(13, 13, 13, .7);
  border: 1px solid rgba(245, 245, 240, .25);
  color: var(--text);
  pointer-events: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.lb-hint .icon { width: 16px; height: 16px; }
.g-link:hover .lb-hint, .g-link:focus-visible .lb-hint { background: var(--accent); color: #0d0d0d; }
.gallery-toggle .gt-count { color: var(--muted); font-weight: 400; }
.gallery-toggle[aria-expanded="false"] .icon-arrow { transform: rotate(90deg); }
.gallery-toggle[aria-expanded="true"] .icon-arrow { transform: rotate(-90deg); }
@media (min-width: 600px) {
  .g-tile figcaption { padding: 36px 14px 12px; font-size: .875rem; }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19vw, 240px); gap: 16px; }
  .g-tile.span-m { grid-column: auto; }
  .g-tile.span-d2 { grid-column: span 2; }
}


/* =====================================================================
   TRAINERS
   Matching cards: the portrait keeps its own 4:5 shape (heads are never
   cropped), name and role beside it. Stacked on phones, two columns from
   720px. One shared enquiry strip below.
   ===================================================================== */
.trainers { padding-top: 0; }
.trainer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.trainer-grid > li { min-width: 0; }
.trainer-card {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  align-items: center;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.trainer-media { align-self: stretch; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.trainer-body { min-width: 0; padding: 18px 16px 18px 18px; }
.trainer-body .bar {
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--accent);
}
.trainer-name { font-size: clamp(1.6rem, 7vw, 2.1rem); line-height: 1; overflow-wrap: break-word; }
.trainer-role {
  margin-top: 8px;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trainer-cta {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  padding: 20px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.trainer-text { max-width: 38rem; color: var(--muted); font-size: 1.0625rem; }
.trainer-actions { display: grid; gap: 2px; justify-items: start; }
.trainer-actions .btn { width: 100%; }
.trainer-call a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 600px) {
  .trainer-card { grid-template-columns: 220px minmax(0, 1fr); }
  .trainer-body { padding: 24px 28px; }
  .trainer-actions .btn { width: auto; }
}
@media (min-width: 720px) {
  .trainer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .trainer-card { grid-template-columns: minmax(0, 44%) minmax(0, 1fr); }
  .trainer-body { padding: 20px 18px 20px 22px; }
  .trainer-cta { margin-top: 16px; }
}
@media (min-width: 1024px) {
  .trainer-grid { gap: 20px; }
  .trainer-body { padding: 28px 32px; }
  .trainer-name { font-size: 2.625rem; }
  .trainer-role { font-size: .875rem; }
  .trainer-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
    padding: 24px 32px;
  }
  .trainer-actions { justify-items: end; }
}


/* =====================================================================
   MEMBERSHIP AND FEES
   ===================================================================== */
.membership { padding-top: 0; }

/* Tabs: G.T. / P.T. / P.P.T. */
.fee-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.fee-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 8px;
  font: 700 1.25rem/1 var(--font-display);
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.fee-tab .tab-full {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.fee-tab:hover { color: var(--text); }
.fee-tab[aria-selected="true"] { background: var(--accent); color: #0d0d0d; }
.fee-tab:focus-visible { outline-offset: 2px; }
/* Phones: three equal tabs, the full name in small text under the short name */
@media (max-width: 719px) {
  .fee-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .fee-tab {
    flex-direction: column;
    gap: 4px;
    min-height: 64px;
    padding: 9px 6px;
  }
  .fee-tab .tab-full { font-size: .6875rem; line-height: 1.2; text-align: center; }
}

.fee-panel + .fee-panel { margin-top: 40px; }
.tabs-ready .fee-panel + .fee-panel { margin-top: 0; }
.fee-panel:focus-visible { outline-offset: 6px; border-radius: var(--radius-card); }
.fee-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin-bottom: 16px;
  font-size: 1.625rem;
  line-height: 1.05;
}
.fee-title .fee-abbr { color: var(--accent); }
.fee-title .fee-full { min-width: 0; color: var(--text); overflow-wrap: break-word; }
@media (min-width: 768px) {
  .fee-title { font-size: 1.875rem; }
}

/* Price cards. Phones: duration and price on the left, Enquire on the right */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  min-width: 0;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.plan-card > * { grid-column: 1; min-width: 0; }
.plan-duration { font-size: 1.5rem; line-height: 1.05; }
.plan-price { margin-top: 4px; color: var(--accent); font-size: 2.25rem; line-height: 1.05; white-space: nowrap; }
.plan-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.plan-pause { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.plan-pause.has-pause { color: var(--text); }
.plan-cta { grid-column: 2; grid-row: 1 / span 4; align-self: center; min-width: 104px; }
.fee-note { margin-top: 14px; }
.fees-foot { display: grid; gap: 16px; justify-items: start; margin-top: 24px; }
.fees-foot .btn { width: 100%; }
@media (min-width: 600px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid.count-5 .plan-card:last-child { grid-column: span 2; }
  .fees-foot .btn { width: auto; }
}
/* Wider screens: one column per plan, Enquire pinned to the bottom */
@media (min-width: 900px) {
  .plan-grid, .plan-grid.count-5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .plan-grid.count-5 .plan-card:last-child { grid-column: auto; }
  .plan-card { display: flex; flex-direction: column; align-items: stretch; padding: 22px 20px; }
  .plan-price { margin-top: 6px; font-size: 2.5rem; }
  .plan-pause { margin-top: 2px; }
  .plan-card > :nth-last-child(2) { margin-bottom: 18px; }
  .plan-cta { width: 100%; min-width: 0; margin-top: auto; }
}
@media (min-width: 1024px) {
  .plan-grid.count-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .plan-grid.count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* =====================================================================
   FITPASS SECTION
   ===================================================================== */
.fitpass { padding-top: 0; }
.fitpass-card {
  display: grid;
  gap: 24px;
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-card);
}
.fitpass-body { max-width: 40rem; margin-top: 16px; color: var(--text); opacity: .9; font-size: 1.0625rem; }
.fitpass-card .btn-row { margin-top: 22px; }
.fitpass-steps { display: grid; gap: 10px; counter-reset: none; }
.fitpass-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.fitpass-steps p { font-weight: 600; }
.fitpass-note { max-width: 52rem; font-size: .875rem; }
@media (min-width: 900px) {
  .fitpass-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px 48px;
    padding: 40px 44px;
  }
  .fitpass-note { grid-column: 1 / -1; }
}


/* =====================================================================
   FIRST VISIT
   ===================================================================== */
.first-visit { padding-top: 0; }
.steps { display: grid; gap: 12px; }
.step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.step-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0d0d;
  font: 700 1.25rem/1 var(--font-display);
}
.step-title { padding-top: 6px; font-size: 1.5rem; line-height: 1.05; }
.step p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.bring { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--muted); }
.bring .icon { width: 26px; height: 26px; color: var(--accent); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
  .step:not(:last-child)::after { /* arrow between the steps */
    content: "";
    position: absolute;
    top: 50%;
    right: -30px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13m-5-6 6 6-6 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13m-5-6 6 6-6 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}


/* =====================================================================
   FAQs AND VISIT (address, hours, contact)
   ===================================================================== */
.info { padding-top: 0; }
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.info-grid > * { min-width: 0; }
.panel-title { margin-bottom: 18px; font-size: 1.875rem; line-height: 1; }
@media (min-width: 900px) {
  .info-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
}

/* FAQ questions open and close without JavaScript (<details>) */
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 10px; }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 10px;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.faq-list summary:hover .faq-q { color: var(--accent); }
.faq-list summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform 160ms ease; }
.faq-list details[open] summary .icon { transform: rotate(180deg); color: var(--accent); }
.faq-answer { padding: 0 16px 16px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }
  .faq-list details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 180ms var(--ease), content-visibility 180ms allow-discrete;
  }
  .faq-list details[open]::details-content { block-size: auto; }
}

.visit-facts { display: grid; gap: 20px; }
.visit-facts li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.vf-icon { padding-top: 2px; color: var(--accent); }
.vf-icon .icon { width: 24px; height: 24px; }
.vf-title { font-size: 1.25rem; line-height: 1.15; }
.visit-facts address { margin-top: 4px; color: var(--muted); }
.vf-phones { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 2px; }
.vf-phones a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.hours-list { display: grid; gap: 6px; margin-top: 6px; }
.hours-list div { display: grid; gap: 0; }
.hours-list dt { color: var(--muted); font-size: .875rem; }
.hours-list dd { font-weight: 600; }
.hours-list + .fine { margin-top: 8px; font-size: .875rem; }
@media (min-width: 420px) {
  .hours-list div { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px; }
  .hours-list dd { text-align: right; }
}
.visit-panel .btn-row { margin-top: 24px; }
.visit-panel .btn { gap: 8px; padding-inline: 16px; font-size: .9375rem; }
.maps-note { margin-top: 14px; font-size: .875rem; }


/* =====================================================================
   CLOSING BANNER
   ===================================================================== */
.closing { padding-top: 0; }
.closing-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.closing-media { position: absolute; inset: 0; z-index: -1; }
.closing-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 13, 13, .96) 0%, rgba(13, 13, 13, .82) 45%, rgba(13, 13, 13, .35) 100%);
}
.closing-copy { padding: 120px 22px 28px; }
.closing-copy .h2 { margin-bottom: 22px; }
.closing-copy .btn { width: 100%; }
@media (min-width: 600px) {
  .closing-copy .btn { width: auto; }
}
@media (min-width: 768px) {
  .closing-card { align-items: center; min-height: 260px; }
  .closing-media { left: 46%; }
  .closing-media::after {
    background: linear-gradient(90deg, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, .55) 28%, rgba(26, 26, 26, 0) 62%);
  }
  .closing-copy { max-width: 70%; padding: 48px; }
}
@media (min-width: 1024px) {
  .closing-copy .h2 { font-size: clamp(3rem, 4.4vw, 4rem); white-space: nowrap; }
}


/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  padding-block: 44px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9375rem;
}
.footer-grid { display: grid; gap: 28px; }
.footer-logo {
  display: block;
  width: var(--footer-logo-width);
  max-width: 100%;
  height: auto;
  margin-bottom: 14px;
}
.footer-h {
  margin-bottom: 8px;
  color: var(--accent);
  font: 600 .8125rem/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }
.footer-links .icon { color: var(--accent); }
.footer-col address { color: var(--text); }
.footer-hours { margin-top: 10px; }
.copyright { padding-top: 18px; border-top: 1px solid var(--line); }
/* Tablets: logo on its own row, Contact and Visit side by side. Desktop: three columns. */
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .footer-brand, .copyright { grid-column: 1 / -1; }
  .footer-logo { width: var(--footer-logo-width-desktop); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
}


/* =====================================================================
   PHONE CONTACT BAR (Call + WhatsApp) — phones and tablets only
   It leaves room for the phone's home bar (safe area), and is hidden
   while the photo viewer is open.
   ===================================================================== */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  background: rgba(13, 13, 13, .97);
  border-top: 1px solid var(--line);
}
.action-bar .btn { min-width: 0; min-height: 52px; padding-inline: 10px; }
html.lb-open .action-bar { display: none; }
@media (min-width: 1024px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 16px; }
}


/* =====================================================================
   PHOTO VIEWER (opens from the gallery)
   ===================================================================== */
html.lb-open { overflow: hidden; }
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 10, 10, .97);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) 16px 8px;
}
.lb-count { color: var(--muted); font-size: .9375rem; font-weight: 600; }
.lb-tools { display: flex; gap: 10px; }
.lb-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(28, 28, 28, .92);
  border: 1px solid var(--line-strong);
  color: var(--text);
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.lb-btn:hover { color: var(--accent); border-color: var(--accent); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-zoom .lb-zoom-out, .lb-zoom[aria-pressed="true"] .lb-zoom-in { display: none; }
.lb-zoom[aria-pressed="true"] .lb-zoom-out { display: block; }
.lb-zoom[aria-pressed="true"] { background: var(--accent); color: #0d0d0d; border-color: var(--accent); }
.lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 16px;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.lb-stage.is-loading::after { /* small spinner while a photo loads */
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 3px solid rgba(245, 245, 240, .2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: lb-spin 800ms linear infinite;
}
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb-img {
  display: block;
  width: min(100%, 1280px, calc((100vh - 190px) * var(--ar, 1.33)));
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.lb-stage.is-zoomed {
  place-items: start;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y pinch-zoom;
}
.lb-stage.is-zoomed .lb-img { max-width: none; max-height: none; margin: auto; border-radius: 0; cursor: zoom-out; }
.lb-stage.is-dragging .lb-img { cursor: grabbing; }
.lb-caption {
  min-height: 1.5em;
  padding: 12px 16px max(16px, env(safe-area-inset-bottom));
  color: var(--muted);
  text-align: center;
}
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 767px) {
  /* Phones: previous/next sit beside the caption so they never cover the photo */
  .lb-nav { top: auto; bottom: max(8px, env(safe-area-inset-bottom)); transform: none; }
  .lb-caption { padding-inline: 72px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-in 160ms ease-out; }
  @keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .lb-stage.is-loading::after { animation-duration: 2s; }
}


/* =====================================================================
   PRINTING
   ===================================================================== */
@media print {
  .action-bar, .site-nav, .menu-toggle, .skip-link, .lightbox, .fee-tabs { display: none !important; }
  .fee-panel[hidden] { display: block !important; }
  body { background: #fff; color: #000; padding: 0; }
}
