/* ==========================================================================
   24 Performance, Custom Theme
   Palette: Black, Gold (logo-matched), White accents
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --line: #222222;
  --gold: #c9a961;
  --gold-bright: #d8b974;
  --gold-soft: rgba(201, 169, 97, 0.12);
  --white: #ffffff;
  --muted: #9a9a9a;
  --muted-2: #c8c8c8;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-bright); }

h1, h2, h3, h4, h5 {
  font-family: 'Anton', 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 .8rem;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 5rem); letter-spacing: 1px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.15rem; letter-spacing: 1.5px; }

p { margin: 0 0 1rem; }

/* Utility */
.gold { color: var(--gold); }
.text-white { color: var(--white) !important; }
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  padding: .4rem 0;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 3px;
}

.section { padding: 100px 0; position: relative; }
.section-darker { background: var(--bg-2); }

@media (max-width: 768px) {
  .section { padding: 70px 0; }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 10, 0.96);
  border-bottom-color: var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-soft);
}
.brand-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}
.brand-name span { color: var(--gold); }
.brand-tag {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .65rem;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  /* Desktop: fixed-positioned to sit inside the header bar on the right */
  position: fixed;
  top: 0;
  right: 0;
  height: 84px;        /* matches header height (padding 18px + 48px logo) */
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0 32px 0 0;
  z-index: 1001;       /* above header's stacking context */
  transition: height .3s ease;
}
.site-header.scrolled ~ .nav-links { height: 72px; }
.nav-links a {
  color: var(--muted-2);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: #000 !important;
  padding: 12px 25px !important;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: .8rem;
  text-transform: uppercase;
  transition: all .25s ease;
  white-space: nowrap;
  margin-left: 1rem;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 169, 97, 0.25);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* Mobile nav toggle — full nav styling lives in the responsive block at the bottom */
@media (max-width: 991.98px) {
  .nav-toggle { display: block; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-gold,
.btn-ghost,
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover {
  background: var(--gold-bright);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201, 169, 97, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark {
  background: #000;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-dark:hover { background: var(--gold); color: #000; }
.btn-sm { padding: 11px 20px; font-size: .75rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 180px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,10,10,.65) 0%, rgba(10,10,10,.85) 70%, var(--bg) 100%),
    url('../img/gym2.jpg') center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(201, 169, 97, 0.18), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero h1 .gold { color: var(--gold); }
.hero p.lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted-2);
  max-width: 640px;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  position: absolute;
  bottom: 50px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3rem;
  z-index: 2;
  font-size: .75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  width: max-content;
  max-width: calc(100% - 32px);
}
.hero-meta strong { color: var(--gold); display: block; font-size: 1.6rem; font-family: 'Anton', sans-serif; letter-spacing: 1px; }

@media (max-width: 767.98px) {
  .hero-meta {
    gap: 1.4rem;
    bottom: 32px;
    font-size: .6rem;
    letter-spacing: 2px;
  }
  .hero-meta strong { font-size: 1.1rem; }
}

/* Page header (non-home pages) */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10,10,10,.7), rgba(10,10,10,.95)),
    url('../img/gym2.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin-bottom: .6rem; }
.page-header p { color: var(--muted); letter-spacing: 4px; text-transform: uppercase; font-size: .8rem; }

/* ==========================================================================
   Cards / Service / Plan
   ========================================================================== */
.card-dark {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem;
  height: 100%;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.card-dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.card-dark:hover {
  transform: translateY(-6px);
  border-color: var(--gold-soft);
  box-shadow: var(--shadow);
}
.card-dark:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 1.6rem;
  border-radius: 4px;
  margin-bottom: 1.4rem;
}

.plan {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2.4rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .3s ease;
}
.plan:hover { border-color: var(--gold-soft); transform: translateY(-4px); }
.plan-featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--bg-3) 0%, #1a1610 100%);
}
.plan-featured::after {
  content: "Most Popular";
  position: absolute;
  top: -12px; right: 24px;
  background: var(--gold);
  color: #000;
  padding: 4px 14px;
  font-size: .65rem;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 2px;
}
.plan h3 { color: var(--white); margin-bottom: .4rem; }
.plan-tag {
  font-size: .7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.plan-price {
  font-family: 'Anton', sans-serif;
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: .4rem;
}
.plan-price small { font-size: .9rem; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 400; letter-spacing: 1px; }
.plan-founding {
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  margin: 1rem 0 1.6rem;
  font-size: .85rem;
  color: var(--muted-2);
}
.plan-founding strong { color: var(--gold); display: block; font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.plan ul {
  list-style: none;
  padding: 0; margin: 0 0 1.8rem;
  flex: 1;
}
.plan ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  color: var(--muted-2);
}
.plan ul li:last-child { border-bottom: 0; }
.plan ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  color: var(--gold);
  font-weight: 700;
}
.plan-actions { display: flex; flex-direction: column; gap: 8px; }

/* Bullet list with gold marker */
.gold-list { list-style: none; padding: 0; margin: 0; }
.gold-list li {
  position: relative;
  padding: 6px 0 6px 32px;
  color: var(--muted-2);
}
.gold-list li::before {
  content: "▸";
  position: absolute;
  left: 0; top: 6px;
  color: var(--gold);
  font-size: 1.1rem;
}

/* ==========================================================================
   Image columns
   ========================================================================== */
.media-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.media-frame img { width: 100%; display: block; }
.media-frame.with-accent::before {
  content: "";
  position: absolute;
  top: -16px; left: -16px;
  width: 80px; height: 80px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  z-index: 2;
}
.media-frame.with-accent::after {
  content: "";
  position: absolute;
  bottom: -16px; right: -16px;
  width: 80px; height: 80px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  z-index: 2;
}

/* ==========================================================================
   Marquee strip
   ========================================================================== */
.strip {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: scroll-x 40s linear infinite;
  font-family: 'Anton', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
  width: max-content;
}
.strip-track span { display: inline-flex; align-items: center; gap: 4rem; }
.strip-track .dot { color: var(--gold); }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-control,
.form-select {
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 2px;
  font-size: .95rem;
  transition: border-color .2s ease, background .2s ease;
  width: 100%;
  font-family: 'Inter', sans-serif;
}
.form-control::placeholder { color: var(--muted); }
.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  background: #1a1a1a;
  box-shadow: 0 0 0 3px var(--gold-soft);
}
textarea.form-control { min-height: 160px; resize: vertical; }
.form-label {
  display: block;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

/* ==========================================================================
   Application form (contact page)
   ========================================================================== */
.application-form .form-section + .form-section { margin-top: 2.4rem; }
.application-form .form-section-title {
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: .8rem;
  margin-bottom: 1.4rem;
}
.application-form .form-hint {
  font-size: .75rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: .5rem;
}

/* Checkbox grid (multi-select goals, training times, etc.) */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .55rem;
}
.check-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: all .2s ease;
  font-size: .85rem;
  color: var(--muted-2);
}
.check-item:hover { border-color: var(--gold-soft); color: var(--white); }
.check-item input { accent-color: var(--gold); cursor: pointer; flex-shrink: 0; }
.check-item input:checked + span { color: var(--gold); font-weight: 600; }
.check-item:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-soft);
}

/* 1-10 commitment scale */
.scale-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: .6rem;
}
.scale-label {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.scale-buttons {
  display: flex;
  flex: 1;
  gap: 4px;
}
.scale-buttons label {
  flex: 1;
  position: relative;
  cursor: pointer;
}
.scale-buttons input { position: absolute; opacity: 0; pointer-events: none; }
.scale-buttons span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: 'Anton', sans-serif;
  font-size: .95rem;
  color: var(--muted-2);
  transition: all .2s ease;
}
.scale-buttons label:hover span { border-color: var(--gold-soft); color: var(--white); }
.scale-buttons input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

@media (max-width: 575.98px) {
  .scale-buttons span { height: 32px; font-size: .8rem; }
  .scale-buttons { gap: 3px; }
  .scale-row { gap: .4rem; }
  .check-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info-block {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.contact-info-block i {
  font-size: 1.4rem;
  color: var(--gold);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft);
  border-radius: 4px;
  flex-shrink: 0;
}
.contact-info-block strong {
  display: block;
  color: var(--white);
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-info-block span { color: var(--muted-2); font-size: .95rem; word-break: break-word; }
.contact-info-block a { color: var(--muted-2); }
.contact-info-block a:hover { color: var(--gold); }

/* ==========================================================================
   Resources
   ========================================================================== */
.resource-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}
.resource-card:hover { border-color: var(--gold-soft); transform: translateY(-4px); box-shadow: var(--shadow); }
.resource-card .badge-free,
.resource-card .badge-price {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 1rem;
  align-self: flex-start;
  font-weight: 600;
}
.resource-card .badge-free { background: var(--gold-soft); color: var(--gold); }
.resource-card .badge-price { background: var(--gold); color: #000; }
.resource-card h3 { font-size: 1.25rem; }
.resource-card p { color: var(--muted-2); font-size: .92rem; flex: 1; }

.resource-card.featured {
  background: linear-gradient(180deg, var(--bg-3) 0%, #1a1610 100%);
  border-color: var(--gold);
}

/* ==========================================================================
   Testimonial card
   ========================================================================== */
.testimonial-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3rem 3.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 10rem;
  line-height: 1;
  color: var(--gold);
  opacity: .08;
  position: absolute;
  top: .5rem;
  left: 2rem;
  pointer-events: none;
  user-select: none;
}
.testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 1.6rem;
}
.testimonial-stars i {
  color: var(--gold);
  font-size: 1.05rem;
}
.testimonial-quote {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--muted-2);
  font-style: italic;
  margin: 0 0 2rem;
  padding: 0;
  border: none;
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.testimonial-name {
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}
.testimonial-detail {
  font-size: .75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Before / After transformation */
.before-after {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 5rem;
}
.before-after-item {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.before-after-item img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: block;
}
.before-after-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.78);
  color: var(--muted-2);
  font-family: 'Anton', sans-serif;
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  border: 1px solid var(--line);
}
.before-after-label.after {
  color: var(--gold);
  border-color: rgba(201, 169, 97, 0.4);
}
.before-after-arrow {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
  opacity: .6;
}

@media (max-width: 767.98px) {
  .testimonial-card { padding: 2rem 1.5rem; }

  /* Before/after swipe carousel on mobile */
  .before-after {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
    justify-content: flex-start;
  }
  .before-after::-webkit-scrollbar { display: none; }
  .before-after-item {
    flex: 0 0 88%;
    max-width: 88%;
    scroll-snap-align: center;
  }
  .before-after-item img { height: 360px; object-fit: cover; }
  .before-after-arrow { display: none; }
}

/* ==========================================================================
   Legal pages (privacy, terms, disclaimer)
   ========================================================================== */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted-2);
}
.legal-page h2 {
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--gold);
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 {
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-top: 1.6rem;
  margin-bottom: .6rem;
}
.legal-page p, .legal-page li {
  font-size: .95rem;
  line-height: 1.75;
}
.legal-page ul, .legal-page ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}
.legal-page ul li, .legal-page ol li { padding: 4px 0; }
.legal-page a { text-decoration: underline; }
.legal-page .last-updated {
  display: inline-block;
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.legal-page .placeholder {
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  margin: 1rem 0;
  font-size: .9rem;
}
.legal-page .placeholder strong {
  display: block;
  color: var(--gold);
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* ==========================================================================
   Cookie banner (dormant — set window.__24P_COOKIE_ENABLED = true to enable)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  background: var(--bg-3);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  z-index: 1200;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  display: none;
}
.cookie-banner.visible { display: block; animation: fade-in .3s ease; }
.cookie-banner p { font-size: .85rem; color: var(--muted-2); margin: 0 0 .8rem; }
.cookie-banner .cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .cookie-actions button {
  flex: 1;
  min-width: 100px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s ease;
}
.cookie-banner .cookie-actions button.accept {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 600;
}
.cookie-banner .cookie-actions button:hover { transform: translateY(-1px); }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Plans scroll-snap (mobile horizontal carousel; desktop = normal grid)
   Add the .plans-scroll class to a Bootstrap .row that contains plan cards.
   On screens < 992px the row becomes a horizontal swipe-able scroller with
   each card snapping to centre. On large screens it stays a normal grid.
   ========================================================================== */
@media (max-width: 991.98px) {
  .plans-scroll {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1.2rem;
    -webkit-overflow-scrolling: touch;
  }
  .plans-scroll::-webkit-scrollbar { display: none; }
  /* Plan cards — show one at a time (wide cards) */
  .plans-scroll.plans-wide > [class*="col-"] {
    flex: 0 0 88%;
    max-width: 88%;
    scroll-snap-align: center;
  }
  /* Card-dark carousels — show ~1.5 cards so user knows to swipe */
  .plans-scroll > [class*="col-"] {
    flex: 0 0 75%;
    max-width: 75%;
    scroll-snap-align: start;
  }
}
@media (max-width: 575.98px) {
  .plans-scroll.plans-wide > [class*="col-"] {
    flex: 0 0 92%;
    max-width: 92%;
  }
  .plans-scroll > [class*="col-"] {
    flex: 0 0 82%;
    max-width: 82%;
  }
}

/* ==========================================================================
   Journey carousel (Bootstrap)
   ========================================================================== */
.journey-carousel {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.journey-carousel .carousel-inner { aspect-ratio: 16 / 10; }
.journey-carousel .carousel-item { height: 100%; }
.journey-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey-carousel .carousel-control-prev,
.journey-carousel .carousel-control-next { width: 8%; opacity: .85; }
.journey-carousel .carousel-control-prev-icon,
.journey-carousel .carousel-control-next-icon {
  background-color: var(--gold);
  border-radius: 50%;
  padding: 18px;
  background-size: 50%;
  filter: invert(1);
}
.journey-carousel .carousel-indicators { margin-bottom: .8rem; }
.journey-carousel .carousel-indicators [data-bs-target] {
  width: 8px; height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 0;
  margin: 0 5px;
  transition: background-color .2s ease;
}
.journey-carousel .carousel-indicators .active { background-color: var(--gold); }

.quote-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem;
  height: 100%;
  position: relative;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -10px; left: 18px;
  font-family: 'Anton', serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.85), rgba(10,10,10,.95)),
    url('../img/gym2.jpg') center/cover no-repeat;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-banner h2 { max-width: 800px; margin: 0 auto 1.2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
  color: var(--muted);
}
.site-footer h4 {
  color: var(--white);
  font-size: .9rem;
  letter-spacing: 2px;
  margin-bottom: 1.4rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 4px 0; font-size: .9rem; }
.footer-socials { display: flex; gap: 12px; margin-top: 1rem; }
.footer-socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-2);
  transition: all .2s ease;
}
.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: 1px;
}
.footer-bottom a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.footer-bottom a:hover { color: var(--gold-bright); }

/* Section heads */
.section-head { margin-bottom: 3.5rem; }
.section-head h2 { margin-bottom: .8rem; }
.section-head p { color: var(--muted); max-width: 640px; }
.text-center .section-head p { margin-left: auto; margin-right: auto; }

.divider-gold {
  width: 56px; height: 2px;
  background: var(--gold);
  margin: 0 0 1.4rem;
}
.text-center .divider-gold { margin-left: auto; margin-right: auto; }

[data-aos] { will-change: transform, opacity; }

/* Scroll-to-top */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  background: var(--gold);
  color: #000;
  border: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
}
.to-top.show { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--gold-bright); }

/* Anchor offset for fixed nav */
section[id] { scroll-margin-top: 90px; }

/* Form status messages, toggled by assets/js/form.js */
.form-status-loading,
.form-status-success,
.form-status-error {
  display: none;
  padding: 14px 18px;
  border-radius: 2px;
  font-size: .9rem;
  margin-top: 1rem;
}
.form-status-success { background: rgba(40, 167, 69, .15); color: #5dd17e; border: 1px solid rgba(40, 167, 69, .3); }
.form-status-error   { background: rgba(220, 53, 69, .15); color: #f08080; border: 1px solid rgba(220, 53, 69, .3); }
.form-status-loading { background: var(--gold-soft); color: var(--gold); }

/* ==========================================================================
   Responsive
   ----------------------------------------------------------------------------
   Breakpoints (Bootstrap-aligned):
     >= 1200px  laptop / desktop      (default styles above)
     992-1199   small laptop / iPad landscape
     768-991    iPad portrait
     576-767    large phone
     < 576px    phone
   ========================================================================== */

/* iPad landscape & small laptop */
@media (max-width: 1199.98px) {
  .container { max-width: 100%; padding-left: 32px; padding-right: 32px; }
  .nav-links { gap: 1.6rem; }
}

/* iPad portrait */
@media (max-width: 991.98px) {
  .section { padding: 80px 0; }
  .hero { min-height: 90vh; padding: 130px 0 150px; }
  .page-header { padding: 150px 0 70px; }
  .cta-banner { padding: 80px 0; }
  .container { padding-left: 24px; padding-right: 24px; }
  .strip-track { font-size: 1.3rem; gap: 3rem; }
  .strip-track span { gap: 3rem; }
  .footer-bottom { justify-content: flex-start; }

  /* Mobile nav: panel slides in BELOW the fixed header */
  .site-header { padding: 14px 0; }
  .nav-wrap { gap: 1rem; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 1.05rem; }
  .brand-tag { font-size: .58rem; letter-spacing: 2px; }

  .nav-links {
    position: fixed;
    top: 70px;          /* sits below the header */
    left: 0; right: 0; bottom: 0;
    height: auto !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: #0a0a0a;
    padding: 1.5rem 1.5rem 2rem;
    gap: 0;
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    z-index: 999;       /* below header (1000) so brand stays visible */
  }
  .site-header.scrolled ~ .nav-links { height: auto !important; top: 70px; }
  .nav-links.open { transform: translateX(0); }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav-links li:last-child {
    border-bottom: 0;
    margin-top: 1.5rem;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1.1rem 0;
    color: var(--white);
    font-family: 'Anton', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--gold); }

  .nav-cta {
    background: var(--gold) !important;
    color: #000 !important;
    padding: 1.05rem !important;
    margin: 0 !important;
    text-align: center;
    font-family: 'Inter', sans-serif !important;
    font-size: .85rem !important;
    letter-spacing: 2px !important;
    border-radius: 2px;
  }

  /* Lock body scroll while menu is open */
  body.nav-open { overflow: hidden; }

  /* Hero/page typography on tablet */
  h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
  h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }

  /* Plan cards a touch tighter on tablet */
  .plan { padding: 2rem 1.6rem; }
}

/* Large phone */
@media (max-width: 767.98px) {
  .section { padding: 60px 0; }
  .hero { padding: 110px 0 130px; min-height: auto; }
  .page-header { padding: 130px 0 60px; }
  .cta-banner { padding: 60px 0; }
  .container { padding-left: 20px; padding-right: 20px; }

  h1 { font-size: clamp(2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  h3 { font-size: 1.25rem; }

  .hero p.lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn-gold,
  .hero-actions .btn-ghost,
  .hero-actions .btn-dark { justify-content: center; width: 100%; }

  .btn-gold, .btn-ghost, .btn-dark { padding: 14px 24px; font-size: .8rem; letter-spacing: 1.5px; }

  /* Cards */
  .card-dark { padding: 1.6rem; }
  .plan { padding: 1.8rem 1.4rem; }
  .plan-price { font-size: 2.4rem; }

  /* Resource grid: 1-up on phone */
  .resource-card { padding: 1.6rem; }

  /* Section heads tighter */
  .section-head { margin-bottom: 2.4rem; }

  /* Eyebrow smaller */
  .eyebrow { font-size: .7rem; letter-spacing: 3px; }

  /* Marquee strip */
  .strip { padding: 20px 0; }
  .strip-track { font-size: 1rem; gap: 2rem; letter-spacing: 3px; }
  .strip-track span { gap: 2rem; }

  /* CTA banner content padding */
  .cta-banner .hero-actions { justify-content: center; }

  /* Footer stack neatly */
  .site-footer { padding: 50px 0 24px; text-align: left; }
  .footer-bottom {
    flex-direction: column;
    gap: .6rem;
    text-align: left;
    font-size: .75rem;
  }
  .footer-socials { gap: 10px; }

  /* Contact form padding tighter */
  .contact-info-block { padding: 1.1rem 1.2rem; gap: .9rem; }
  .contact-info-block i { width: 38px; height: 38px; font-size: 1.2rem; }

  /* Carousel controls smaller on phone */
  .journey-carousel .carousel-control-prev-icon,
  .journey-carousel .carousel-control-next-icon { padding: 12px; }
  .journey-carousel .carousel-inner { aspect-ratio: 4 / 3; }

  /* Plan featured badge tighter */
  .plan-featured::after { right: 16px; padding: 3px 10px; font-size: .6rem; }

  /* Page header text */
  .page-header p { font-size: .7rem; letter-spacing: 3px; }

  /* Scroll-to-top */
  .to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }

  /* Form fields a bit smaller */
  .form-control, .form-select { padding: 12px 14px; font-size: .9rem; }
  textarea.form-control { min-height: 130px; }
}

/* Small phone */
@media (max-width: 420px) {
  h1 { font-size: 1.85rem; }
  .plan-price { font-size: 2rem; }
  .hero { padding: 100px 0 120px; }
  .nav-links a { font-size: 1.3rem; }
  .container { padding-left: 16px; padding-right: 16px; }
}

/* Tall but narrow (landscape phone) */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 100px 0 110px; }
}

/* Reduced motion */
@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;
  }
  .strip-track { animation: none !important; }
}
