/* ============================================================
   REBUILT Strength + Rehab — page-specific styles
   Extends main.css. Brand colors and globals come from there.
   ============================================================ */

/* ============================================================
   PAGE HERO (smaller than the HQ homepage hero)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse 900px 500px at 80% -10%, rgba(117, 178, 221, 0.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.page-hero-content { max-width: 580px; }

.page-hero-title {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin: 16px 0 24px;
  text-transform: uppercase;
}

.page-hero-title .accent {
  color: var(--color-brand);
}

.page-hero-sub {
  font-size: 18px;
  color: var(--color-text-mid);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

.page-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-hero-media { position: relative; }

.page-hero-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center 30%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   PHOTO BANNER — full-bleed visual break between sections
   ============================================================ */
.photo-banner {
  position: relative;
  height: clamp(280px, 38vw, 480px);
  overflow: hidden;
  isolation: isolate;
}

.photo-banner-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 1.5s ease-out;
}

.photo-banner:hover .photo-banner-img {
  transform: scale(1.04);
}

/* Framed variant: shows the WHOLE photo, with a blurred copy filling the side gaps */
.photo-banner--framed {
  height: clamp(420px, 60vw, 640px);
  background: #0a0e13;
}
.photo-banner--framed .photo-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.55) saturate(1.1);
  transform: scale(1.15);
  z-index: 0;
}
.photo-banner--framed .photo-banner-fg {
  position: relative;
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  z-index: 1;
}

/* Subtle gradient overlay top and bottom for clean section seams */
.photo-banner::before,
.photo-banner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
  z-index: 1;
}
.photo-banner::before {
  top: 0;
  background: linear-gradient(180deg, rgba(10, 14, 19, 0.5), transparent);
}
.photo-banner::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(10, 14, 19, 0.4), transparent);
}

/* ============================================================
   KYLE SECTION
   ============================================================ */
.kyle-section {
  padding: 120px 0;
  background: var(--color-bg-dark);
  color: white;
}

.kyle-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.kyle-photo {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.kyle-text .eyebrow { color: var(--color-brand); }
.kyle-text .section-title { color: white; max-width: 580px; }
.kyle-text p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 560px;
}

/* Thesis sentence — slightly bigger, brighter, brand-blue inset bar */
.kyle-thesis {
  border-left: 3px solid var(--color-brand) !important;
  padding-left: 20px;
  margin-top: 24px !important;
  color: white !important;
  font-size: 18px !important;
}
.kyle-thesis strong { color: var(--color-brand); font-weight: 700; }

.kyle-creds {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cred-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
}

.cred-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 2px;
}

.cred-value {
  font-size: 15px;
  color: white;
  line-height: 1.55;
}

/* ============================================================
   SERVICES — brand blue background with liquid-glass cards
   (matches the homepage services section visual language)
   ============================================================ */
.services-section {
  padding: 120px 0;
  position: relative;
  background:
    radial-gradient(ellipse 900px 600px at 20% -10%, rgba(255, 255, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 900px 700px at 90% 110%, rgba(15, 50, 85, 0.45), transparent 60%),
    linear-gradient(135deg, #8cc1e5 0%, #75b2dd 45%, #4e8fbe 100%);
  color: white;
  overflow: hidden;
}

.services-section .eyebrow { color: rgba(255, 255, 255, 0.85); }
.services-section .section-title { color: white; }
.services-section .section-sub { color: rgba(255, 255, 255, 0.85); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px) saturate(0.55) brightness(1.15);
  -webkit-backdrop-filter: blur(28px) saturate(0.55) brightness(1.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 12px 40px rgba(15, 50, 85, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 24px 60px rgba(15, 50, 85, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Cursor spotlight inside the glass */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, -100%) var(--my, -100%),
    rgba(255, 255, 255, 0.45),
    rgba(117, 178, 221, 0.12) 25%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  border-radius: inherit;
  mix-blend-mode: overlay;
  z-index: 3;
}

.service-card:hover::after { opacity: 1; }

.service-card > * { position: relative; z-index: 2; }

.service-card-icon {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: white;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   CONDITIONS GRID
   ============================================================ */
.conditions-section {
  padding: 120px 0;
  background: var(--color-bg-alt);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.condition-tile {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.condition-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brand);
}

.condition-tile h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.condition-tile p {
  font-size: 13px;
  color: var(--color-text-mid);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   TECHNOLOGY SECTION
   ============================================================ */
.tech-section {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 900px 600px at 80% 0%, rgba(117, 178, 221, 0.12), transparent 60%),
    linear-gradient(180deg, #0a0e13 0%, #141a21 100%);
  color: white;
}

.tech-header .eyebrow { color: var(--color-brand); }
.tech-header .section-title { color: white; }
.tech-header .section-sub { color: rgba(255, 255, 255, 0.7); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.tech-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.tech-card:hover {
  background: rgba(117, 178, 221, 0.08);
  border-color: rgba(117, 178, 221, 0.35);
  border-left-color: var(--color-brand);
}

.tech-card--wide { grid-column: 1 / -1; }

.tech-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.tech-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* Tech card with a photo at the top */
.tech-card--with-photo {
  padding: 0;
  overflow: hidden;
  border-left: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-card--with-photo:hover {
  border-color: rgba(117, 178, 221, 0.4);
}

.tech-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 3px solid var(--color-brand);
}

.tech-card--wide .tech-card-img {
  aspect-ratio: 21 / 9;
}

.tech-card-body {
  padding: 28px;
}

/* ============================================================
   INLINE APPROACH CTA — sits below "How we measure" in Approach section
   ============================================================ */
.approach-cta {
  text-align: center;
  margin-top: 56px;
}

.approach-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 44px;
  background: var(--color-brand);
  color: white;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all var(--t-base) var(--ease);
  border: 1.5px solid var(--color-brand);
  box-shadow: 0 12px 30px rgba(117, 178, 221, 0.35);
}

.approach-cta-btn:hover {
  background: white;
  color: var(--color-brand-darker);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 50, 85, 0.3);
}

/* ============================================================
   COACHES — meet the performance coaches
   (used on /performance)
   ============================================================ */
.coaches-section {
  padding: 120px 0;
  background: var(--color-bg-alt);
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.coaches-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}

@media (max-width: 900px) {
  .coaches-grid--3 { grid-template-columns: 1fr; }
}

.coach-card {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.coach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-brand);
}

.coach-avatar {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-darker));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(117, 178, 221, 0.35);
}

.coach-body {
  min-width: 0;
}

.coach-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 4px;
  letter-spacing: -0.015em;
}

.coach-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-darker);
  margin: 0 0 10px;
}

.coach-bio {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.55;
  margin: 0;
}

.coach-bio.pending {
  color: var(--color-text-light);
  font-style: italic;
}

@media (max-width: 800px) {
  .coaches-section { padding: 72px 0; }
  .coaches-grid { grid-template-columns: 1fr; }
  .coach-card { padding: 28px; flex-direction: column; text-align: center; gap: 16px; }
}

/* ============================================================
   PROGRAMS — main offerings + adult mention + live schedule CTA
   (used on /performance)
   ============================================================ */
.programs-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 600px at 20% -10%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 900px 700px at 90% 110%, rgba(15, 50, 85, 0.4), transparent 60%),
    linear-gradient(135deg, #8cc1e5 0%, #75b2dd 45%, #4e8fbe 100%);
  color: white;
}

.programs-section .eyebrow { color: rgba(255, 255, 255, 0.9); }
.programs-section .section-title { color: white; }

/* On the brand-blue section, the white cards already pop. Just tweak the adult callout to be translucent. */
.programs-section .programs-adult {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(0.6) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(0.6) brightness(1.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.programs-section .programs-adult-label { color: white; font-weight: 800; }
.programs-section .programs-adult p { color: white; font-weight: 600; }
.programs-section .programs-adult strong { color: white; font-weight: 800; }
.programs-section .programs-adult-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 24px;
  background: white;
  color: var(--color-brand);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.programs-section .programs-adult-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.programs-section .schedule-note { color: rgba(255, 255, 255, 0.85); }

/* Schedule CTA button on brand blue: white pill with brand blue text */
.programs-section .schedule-cta .btn-primary {
  background: white;
  color: var(--color-brand-darker);
}
.programs-section .schedule-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-brand-darker);
  transform: translateY(-2px);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.programs-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}
@media (max-width: 900px) {
  .programs-grid--3 { grid-template-columns: 1fr; }
}

/* Linked program cards (used on /about pillars section) */
.program-card--linked {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.program-card--linked .program-card-link {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-brand-darker);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast) var(--ease);
}

.program-card--linked:hover .program-card-link {
  gap: 12px;
}

/* About page story section */
.story-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.story-text p {
  font-size: 17px;
  color: var(--color-text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-photo {
  margin: 0;
  position: sticky;
  top: 100px;
}

.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(10, 14, 19, 0.18);
}

.story-photo figcaption {
  font-size: 14px;
  color: var(--color-text-mid);
  text-align: center;
  margin-top: 14px;
  font-style: italic;
}

@media (max-width: 860px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story-photo {
    position: static;
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============================================================
   FAQ PAGE — giant FAQ wordmark + accordion Q&A
   ============================================================ */

/* ----- Hero variant: FAQ ----- */
.page-hero--faq {
  padding: 96px 0 64px;
  text-align: center;
}

.page-hero--faq .eyebrow {
  color: var(--color-brand);
  margin-bottom: 16px;
}

.faq-mega-title {
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--color-text);
  margin: 0 auto 20px;
  max-width: 900px;
}

.faq-mega-title .accent {
  color: var(--color-brand);
}

.faq-hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--color-text-mid);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto;
}

/* FAQ section titles — each section labelled with its REBUILT business name in brand blue */
.faq-brand-title {
  color: var(--color-brand);
  font-weight: 800;
}

/* ----- FAQ sections ----- */
.faq-section {
  padding: 64px 0;
  background: var(--color-bg);
}

.faq-section--alt {
  background: var(--color-bg-alt);
}

.faq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.faq-header .eyebrow {
  color: var(--color-brand-darker);
}

.faq-header .section-title {
  margin-bottom: 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ----- Accordion item ----- */
.faq-item {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.faq-section--alt .faq-item {
  background: white;
}

.faq-item:hover {
  border-color: var(--color-brand);
}

.faq-item[open] {
  border-color: var(--color-brand);
  box-shadow: 0 6px 20px rgba(117, 178, 221, 0.15);
}

/* Hide default browser arrow on summary */
.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 22px 60px 22px 28px;
  position: relative;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0;
  user-select: none;
  transition: background var(--t-fast) var(--ease);
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }

.faq-q:hover {
  background: var(--color-bg-alt);
}

/* Custom plus icon that rotates to X on open */
.faq-q::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-image:
    linear-gradient(var(--color-brand-darker), var(--color-brand-darker)),
    linear-gradient(var(--color-brand-darker), var(--color-brand-darker));
  background-size: 100% 2px, 2px 100%;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item[open] .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

/* Answer reveal */
.faq-a {
  padding: 0 28px 24px;
  font-size: 16px;
  color: var(--color-text-mid);
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
  animation: faq-expand 220ms ease;
}

@keyframes faq-expand {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-a strong {
  color: var(--color-text);
  font-weight: 700;
}

.faq-a a {
  color: var(--color-brand-darker);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease);
}

.faq-a a:hover {
  color: var(--color-text);
}

@media (max-width: 700px) {
  .faq-section { padding: 48px 0; }
  .page-hero--faq { padding: 56px 0 32px; }
  .faq-q { font-size: 15px; padding: 18px 50px 18px 20px; }
  .faq-a { font-size: 14px; padding: 0 20px 20px; }
  .faq-q::after { right: 18px; }
}

.program-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(117, 178, 221, 0.22);
  border-color: var(--color-brand);
}

/* Brand-blue accent stripe on top */
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-brand-darker));
}

.program-age {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-darker);
  margin: 0 0 12px;
}

.program-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.program-card p {
  font-size: 15px;
  color: var(--color-text-mid);
  line-height: 1.6;
  margin: 0;
}

/* Adult Functional Training — secondary mention, de-emphasized */
.programs-adult {
  margin-top: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 28px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.programs-adult-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: 0 0 6px;
}

.programs-adult p:last-child {
  font-size: 15px;
  color: var(--color-text-mid);
  line-height: 1.55;
  margin: 0;
}

.programs-adult strong {
  color: var(--color-text);
  font-weight: 700;
}

/* Live schedule CTA */
.schedule-cta {
  margin-top: 48px;
  text-align: center;
}

.schedule-cta .btn-primary {
  padding: 16px 36px;
  font-size: 16px;
}

.schedule-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-text-light);
}

@media (max-width: 800px) {
  .programs-section { padding: 72px 0; }
  .programs-grid { grid-template-columns: 1fr; }
  .program-card { padding: 28px 24px; }
}

/* ============================================================
   WHO WE TRAIN — levels + sports as premium chips
   (used on /performance)
   ============================================================ */
.who-section {
  padding: 120px 0;
  background: var(--color-bg-alt);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.who-col-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-brand-darker);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.who-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.who-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.005em;
  transition: all var(--t-fast) var(--ease);
}

.who-chip:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(117, 178, 221, 0.3);
}

.who-chip--more {
  background: transparent;
  font-style: italic;
  color: var(--color-text-mid);
  font-weight: 500;
}

@media (max-width: 700px) {
  .who-section { padding: 72px 0; }
  .who-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   OUR APPROACH — combined treatments + measurement, side by side
   ============================================================ */
.approach-section {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 900px 600px at 80% 0%, rgba(117, 178, 221, 0.12), transparent 60%),
    linear-gradient(180deg, #0a0e13 0%, #141a21 100%);
  color: white;
}

.approach-section .eyebrow { color: var(--color-brand); }
.approach-section .section-title { color: white; }
.approach-section .section-sub { color: rgba(255, 255, 255, 0.7); }

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.approach-col-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.approach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.approach-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.approach-item:hover {
  background: rgba(117, 178, 221, 0.08);
  border-color: rgba(117, 178, 221, 0.35);
  border-left-color: var(--color-brand);
  transform: translateX(3px);
}

.approach-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.approach-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .approach-section { padding: 72px 0; }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ----- Stacked variant (used on /performance) ----- */
.approach-stack {
  max-width: 1200px;
  margin: 0 auto 56px;
}
.approach-stack:last-child { margin-bottom: 0; }

.approach-stack-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brand);
  text-align: center;
  margin: 0 0 28px;
  position: relative;
  padding-bottom: 16px;
}

/* Subtle brand-blue accent line under the title */
.approach-stack-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-brand);
  border-radius: 1px;
}

.approach-stack-grid {
  display: grid;
  gap: 16px;
}

.approach-stack-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.approach-stack-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.approach-stack-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 920px;
  margin: 0 auto;
}

/* Cards within a stack — same styling family as approach-item but as block cards */
.approach-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.approach-card:hover {
  background: rgba(117, 178, 221, 0.08);
  border-color: rgba(117, 178, 221, 0.3);
  border-top-color: var(--color-brand);
  transform: translateY(-3px);
}

.approach-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

/* Brand/equipment subtitle inside an approach card title (e.g., NMES - Neufit) */
.approach-card .card-sub {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 8px;
  letter-spacing: 0;
}
.approach-card .card-sub::before {
  content: '· ';
  opacity: 0.6;
}

.approach-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1100px) {
  .approach-stack-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .approach-stack-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .approach-stack-grid--5,
  .approach-stack-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .approach-stack-grid--5,
  .approach-stack-grid--4,
  .approach-stack-grid--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   PROCESS / FIRST VISIT
   ============================================================ */
.process-section {
  padding: 120px 0;
  background: var(--color-bg);
}

/* Process section — 2-col layout: steps on left, sticky photo on right */
.process-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.process-aside {
  position: sticky;
  top: 100px;
}

.process-aside-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(15, 50, 85, 0.2);
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: process;
  position: relative;
}

/* Connecting line down the left side of the steps */
.process-list::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  border-radius: 1px;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 20px 0;
  position: relative;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--color-brand);
  color: var(--color-brand-darker);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(117, 178, 221, 0.3);
}

.process-step h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.process-step p {
  font-size: 16px;
  color: var(--color-text-mid);
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
  padding: 120px 0;
  background: var(--color-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  box-shadow: 0 8px 32px rgba(117, 178, 221, 0.18);
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(117, 178, 221, 0.28);
  border-color: var(--color-brand-darker);
}

/* Subtle brand-blue accent stripe at the top of each card */
.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-brand-darker));
}

.price-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-darker);
  margin: 0 0 12px;
}

.price-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.price-card p {
  font-size: 16px;
  color: var(--color-text-mid);
  line-height: 1.6;
  margin: 0 0 12px;
}

.price-sub {
  font-size: 13px !important;
  color: var(--color-text-light) !important;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.price-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.price-list li:last-child { border-bottom: none; }

.price-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-item strong {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 700;
}

.price-item small {
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: 400;
}

.price-amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-brand-darker);
  letter-spacing: -0.02em;
}

/* Action link inside a price card (used on /performance) */
.price-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-brand-darker);
  text-transform: uppercase;
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.price-card-cta:hover {
  gap: 12px;
  color: var(--color-text);
}

/* ============================================================
   FINAL CTA — single button variant
   ============================================================ */
.cta-row--single {
  justify-content: center;
}

.cta-pill--book {
  padding: 20px 56px;
  font-size: 19px;
}

.cta-note {
  margin-top: 20px !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .page-hero { padding: 56px 0 56px; }
  .page-hero-grid,
  .kyle-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Reverse photo/text order on mobile so text sits BETWEEN the hero photo and the next photo */
  .kyle-grid .kyle-text { order: 1; }
  .kyle-grid .kyle-photo { order: 2; }
  .service-cards { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card--wide { grid-column: auto; }

  .kyle-section,
  .services-section,
  .conditions-section,
  .tech-section,
  .process-section,
  .pricing-section { padding: 72px 0; }

  .cred-item { grid-template-columns: 1fr; gap: 4px; }

  .process-step { grid-template-columns: 56px 1fr; gap: 20px; }
  .process-num { width: 56px; height: 56px; font-size: 14px; }
  .process-list::before { left: 27px; }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-aside { position: static; }
}

@media (max-width: 560px) {
  .conditions-grid { grid-template-columns: 1fr; }
  .price-list li { grid-template-columns: 1fr; gap: 6px; }
  .price-amount { font-size: 24px; }
  .price-card { padding: 28px; }
}
