/* ============================================================
   94-fitness — Specialized Fitness hub + program pages (CrossFit
   Surge, HYROX, DEKA, Senior Fitness). Follows the section order
   and layout of the client's existing pages (alternating light /
   dark bands, text-and-photo splits, program cards, tiles) using
   this site's tokens, type, and buttons. Scoped under .sec-94-fit
   ============================================================ */

.sec-94-fit { background: var(--bone); }
.sec-94-fit--white { background: var(--white); }
.sec-94-fit.on-ink { background: var(--ink); }

/* --- Headings + copy --- */
.sec-94-fit__title {
  font-size: var(--fs-h3);
  color: var(--accent);
  line-height: 1.15;
}
.on-ink .sec-94-fit__title { color: var(--white); }
.sec-94-fit__subtitle {
  font-size: var(--fs-h4);
  color: var(--accent);
}
.on-ink .sec-94-fit__subtitle { color: var(--white); }

.sec-94-fit__copy > * + * { margin-top: 1rem; }
.sec-94-fit__copy > * + .sec-94-fit__title { margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.sec-94-fit__copy > .sec-94-fit__title + *,
.sec-94-fit__copy > .sec-94-fit__subtitle + * { margin-top: 1.1rem; }
.sec-94-fit__copy p,
.sec-94-fit__copy li {
  color: var(--text-on-bone-dim, var(--ink-2));
  font-size: var(--fs-body);
  line-height: 1.7;
}
.on-ink .sec-94-fit__copy p,
.on-ink .sec-94-fit__copy li { color: var(--text-on-ink-dim); }
.sec-94-fit__copy p a {
  color: var(--accent);
  font-weight: 600;
}
.on-ink .sec-94-fit__copy p a { color: var(--white); }

.sec-94-fit__center {
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
}
.sec-94-fit__center .sec-94-fit__btns,
.sec-94-fit__center .sec-94-fit__social { justify-content: center; }

/* --- Bullet + check lists --- */
/* ul. prefix outranks base.css's ul[class] list reset */
ul.sec-94-fit__bullets {
  list-style: disc;
  padding-left: 1.25rem;
}
.sec-94-fit__bullets li + li { margin-top: 0.2rem; }
.sec-94-fit__bullets li::marker { color: var(--accent); }
.on-ink .sec-94-fit__bullets li::marker { color: hsl(var(--accent-h) 70% 62%); }

.sec-94-fit__checks { list-style: none; padding: 0; }
.sec-94-fit__checks li {
  position: relative;
  padding-left: 1.9rem;
}
.sec-94-fit__checks li + li { margin-top: 0.45rem; }
.sec-94-fit__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23046838' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 70% no-repeat;
}

/* --- Text + photo splits --- */
.sec-94-fit__split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4.5vw, 4rem);
  align-items: center;
}
.sec-94-fit__split--media-first { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.sec-94-fit__split--media-first > .sec-94-fit__media { order: -1; }
.sec-94-fit__split--top { align-items: start; }
.sec-94-fit__split + .sec-94-fit__split {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-bone);
}
@media (max-width: 820px) {
  .sec-94-fit__split,
  .sec-94-fit__split--media-first { grid-template-columns: 1fr; }
  .sec-94-fit__split--media-first > .sec-94-fit__media { order: 0; }
}

.sec-94-fit__media { min-width: 0; }
.sec-94-fit__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  background: var(--bone-2);
}
.on-ink .sec-94-fit__photo { box-shadow: 0 18px 40px hsl(0 0% 0% / 0.35); }
.sec-94-fit__photo--portrait { aspect-ratio: 3 / 4; }
.sec-94-fit__photo--landscape { aspect-ratio: 4 / 3; }
.sec-94-fit__photo--square { aspect-ratio: 1; }

.sec-94-fit__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.5rem);
}

/* Logos keep their own proportions and are never cropped */
.sec-94-fit__logo {
  display: block;
  height: auto;
  max-width: 100%;
}
.sec-94-fit__logo--hub { width: min(100%, 28rem); margin: 0 auto clamp(1.5rem, 3vw, 2.25rem); }
.sec-94-fit__banner {
  display: flex;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: var(--radius-card);
  background: #000;
}
.sec-94-fit__logo--banner { width: min(100%, 500px); }
.sec-94-fit__logo--small { width: min(100%, 13rem); border-radius: var(--radius-card); }
.sec-94-fit__logo--deka { width: min(100%, 15rem); }

/* --- Buttons + social --- */
.sec-94-fit__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.sec-94-fit__copy > .sec-94-fit__btns { margin-top: 1.75rem; }
.sec-94-fit__btns--spaced { margin-top: clamp(2rem, 4vw, 3rem); }

.sec-94-fit__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.sec-94-fit__btns--spaced + .sec-94-fit__social { margin-top: clamp(2rem, 4vw, 3rem); }
.sec-94-fit__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-on);
  transition: background-color 200ms var(--ease-out), transform 300ms var(--ease-spring);
}
.sec-94-fit__social a:hover { background: var(--accent-strong); transform: translateY(-2px); }
.sec-94-fit__social svg { width: 1.4rem; height: 1.4rem; }
.sec-94-fit__social--lg a { width: 4rem; height: 4rem; border-radius: 18px; }
.sec-94-fit__social--lg svg { width: 2rem; height: 2rem; }

/* --- Embedded media --- */
.sec-94-fit__frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}
.sec-94-fit__frame--fb { aspect-ratio: 560 / 314; }
.sec-94-fit__frame--video { aspect-ratio: 16 / 9; }
.sec-94-fit__frame iframe,
.sec-94-fit__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --- Class times --- */
.sec-94-fit__times {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.sec-94-fit__times p + p { margin-top: 0.5rem; }
.sec-94-fit__times .sec-94-fit__note { margin-top: 1.25rem; font-style: italic; }

/* --- Hub: program cards over the gym photo --- */
.sec-94-fit--photo-bg {
  position: relative;
  isolation: isolate;
}
.sec-94-fit__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.sec-94-fit__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-gap);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
@media (max-width: 820px) {
  .sec-94-fit__cards { grid-template-columns: 1fr; }
}
.sec-94-fit__card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-card);
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.92);
  box-shadow: 0 18px 40px hsl(0 0% 0% / 0.3);
}
.sec-94-fit__card > * + * { margin-top: 0.9rem; }
.sec-94-fit__card p,
.sec-94-fit__card li { color: var(--white); }
.sec-94-fit__card .sec-94-fit__bullets li::marker { color: var(--white); }
.sec-94-fit__card .sec-94-fit__btns { margin-top: auto; padding-top: 1.25rem; }
.sec-94-fit__card .btn--light { background: var(--white); color: var(--accent); }
.sec-94-fit__card .btn--light:hover { background: var(--bone); }

/* --- Hub: "Fitness for every stage of life" tiles --- */
.sec-94-fit__tiles {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 1.25rem 1.75rem;
}
@media (max-width: 820px) {
  .sec-94-fit__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .sec-94-fit__tiles { grid-template-columns: 1fr; }
}
.sec-94-fit__copy .sec-94-fit__tiles li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.4;
  box-shadow: 0 10px 24px hsl(0 0% 0% / 0.2);
}
.sec-94-fit__tiles li::before {
  content: "";
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23046838' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 70% no-repeat;
}
