/* ============================================
   PROGRAMS PAGE Styles
   ============================================ */

/* ── Page Hero ────────────────────────────── */
.programs-hero {
  padding: 180px 60px 100px;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}

.programs-hero .section-label {
  color: var(--teal);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--dark);
  max-width: 700px;
  margin-bottom: 24px;
}

.page-hero-title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 900;
  color: var(--teal);
}

.page-hero-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--charcoal);
  opacity: 0.7;
  max-width: 560px;
}

/* ── Exclusive Section ───────────────────── */
.exclusive-section {
  background: linear-gradient(160deg, var(--warm-light) 0%, var(--warm-mid) 100%);
  padding: 120px 60px;
  overflow: hidden;
}

.exclusive-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.exclusive-left {
  position: sticky;
  top: 120px;
}

.exclusive-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 24px;
  display: block;
}

.exclusive-big-text {
  font-family: var(--font-serif);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.0;
  color: rgba(30, 28, 25, 0.15);
}

.exclusive-big-text em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 900;
  color: rgba(106, 156, 148, 0.4);
}

.exclusive-photo-wrap {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  max-width: 340px;
}

.exclusive-photo {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.exclusive-right .section-label {
  color: var(--teal-light);
}

.exclusive-right .section-title {
  color: var(--dark);
  margin: 16px 0 32px;
}

.exclusive-right .section-title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 900;
  color: var(--teal-light);
}

.exclusive-body p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(30, 28, 25, 0.65);
  margin-bottom: 20px;
}

.exclusive-includes {
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exclusive-include-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(196, 180, 154, 0.12);
  font-size: 14px;
  color: rgba(30, 28, 25, 0.75);
  font-family: var(--font-sans);
  font-weight: 300;
}

.include-dot {
  color: var(--teal-light);
  flex-shrink: 0;
}

.exclusive-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.exclusive-note {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(30, 28, 25, 0.3);
}

/* ── Signature Programs ───────────────────── */
.sig-programs-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream-mid) 100%);
  padding: 120px 60px;
}

.sig-programs-header {
  text-align: center;
  margin-bottom: 72px;
}

.sig-programs-subtitle {
  font-size: 15px;
  color: var(--charcoal);
  opacity: 0.7;
  max-width: 560px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.sig-programs-header .section-title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 900;
}

.early-bird-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--sand) 0%, var(--blush) 100%);
  padding: 12px 24px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--charcoal);
}

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

.program-card {
  background: var(--cream);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(42, 37, 32, 0.1);
  z-index: 1;
}

.program-coming {
  background: linear-gradient(135deg, var(--sand) 0%, var(--blush) 100%);
  border: 1px dashed var(--taupe);
}

.program-number {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 20px;
}

.program-coming .program-number {
  color: var(--stone);
  opacity: 0.5;
}

.program-category {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 10px;
}

.program-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.2;
}

.program-duration {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.program-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--charcoal);
  opacity: 0.8;
  flex: 1;
  margin-bottom: 28px;
}

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.program-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-now {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--dark);
}

.price-was {
  font-size: 12px;
  color: var(--stone);
}

.early-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--dark);
  padding: 3px 8px;
  align-self: center;
}

.btn-program {
  display: inline-block;
  padding: 12px 22px;
  background: var(--warm-light);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--dark);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-program:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.btn-program-ghost {
  display: inline-block;
  padding: 12px 22px;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--taupe);
  transition: all 0.3s ease;
}

.btn-program-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ── Custom Programming ───────────────────── */
.custom-section {
  background: linear-gradient(135deg, var(--sand) 0%, var(--blush) 100%);
  padding: 100px 60px;
}

.custom-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.custom-text .section-title {
  margin: 16px 0 28px;
}

.custom-text .section-title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 900;
}

.custom-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.custom-callout {
  background: var(--white);
  padding: 36px;
  border-left: 3px solid var(--teal);
}

.callout-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.callout-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
}

.callout-text a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── App Section ──────────────────────────── */
.app-section {
  background: linear-gradient(160deg, var(--warm-light) 0%, var(--warm-mid) 100%);
  padding: 120px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-section::before {
  content: 'APP';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 300px;
  font-weight: 300;
  color: rgba(30, 28, 25, 0.15);
  pointer-events: none;
  white-space: nowrap;
}

.app-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.app-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.1;
  margin: 16px 0 28px;
}

.app-title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 900;
  color: var(--teal-light);
}

.app-body {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(30, 28, 25, 0.6);
  margin-bottom: 52px;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 700px;
  margin: 0 auto 52px;
  text-align: left;
}

.app-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(196, 180, 154, 0.1);
  border-right: 1px solid rgba(196, 180, 154, 0.1);
}

.app-feature:nth-child(3n) {
  border-right: none;
}

.app-feature-icon {
  color: var(--teal);
  font-size: 14px;
  flex-shrink: 0;
}

.app-feature span:last-child {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(30, 28, 25, 0.6);
  line-height: 1.4;
}

.app-waitlist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.app-note {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(30, 28, 25, 0.3);
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 900px) {
  .programs-hero {
    padding: 140px 28px 80px;
  }
  .exclusive-section {
    padding: 80px 28px;
  }
  .exclusive-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .exclusive-left {
    position: static;
  }
  .exclusive-big-text {
    font-size: 64px;
  }
  .sig-programs-section {
    padding: 80px 28px;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .custom-section {
    padding: 80px 28px;
  }
  .custom-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .app-section {
    padding: 80px 28px;
  }
  .app-features {
    grid-template-columns: 1fr 1fr;
  }
  .app-feature:nth-child(3n) {
    border-right: 1px solid rgba(196, 180, 154, 0.1);
  }
  .app-feature:nth-child(2n) {
    border-right: none;
  }
}

/* ── Physique Background Images ───────────── */

/* Programs hero — subtle arms/back texture */
.programs-hero {
  position: relative;
}
.programs-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1583454110551-21f2fa2afe61?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.programs-hero .page-hero-inner {
  position: relative;
  z-index: 1;
}


/* ── Program Card Images ──────────────────── */
/* Each card gets a visual image slot above the content.
   Replace the background-color with background-image when you supply photos.
   Suggested shot types are noted per card in the HTML comments.         */

.program-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--warm-light);
  background-size: cover;
  background-position: center;
}

/* Real photos — with dark gradient overlay on top for text readability */
.program-image-back {
  background-image:
    linear-gradient(160deg, rgba(0,184,173,0.15) 0%, rgba(30,28,25,0.55) 100%),
    url('../images/prog-back.jpg');
  background-size: cover;
  background-position: center top;
}
.program-image-back::after { display: none; }

.program-image-glutes {
  /* Glutes image coming — placeholder until uploaded */
  background-image:
    linear-gradient(160deg, rgba(143,168,154,0.15) 0%, rgba(30,28,25,0.45) 100%),
    url('../images/prog-glutes-real.jpg');
  background-size: cover;
  background-position: center 20%;
}
.program-image-glutes::after { display: none; }

.program-image-core {
  background-image:
    linear-gradient(160deg, rgba(0,184,173,0.12) 0%, rgba(30,28,25,0.50) 100%),
    url('../images/prog-core.jpg');
  background-size: cover;
  background-position: center;
}
.program-image-core::after { display: none; }

.program-image-spine {
  background-image:
    linear-gradient(160deg, rgba(0,184,173,0.12) 0%, rgba(30,28,25,0.45) 100%),
    url('../images/prog-spine-eldoa.jpg');
  background-size: cover;
  background-position: center 40%;
}
.program-image-spine::after { display: none; }

.program-image-mobility {
  background-image:
    linear-gradient(160deg, rgba(0,184,173,0.15) 0%, rgba(30,28,25,0.40) 100%),
    url('../images/prog-move-sun.jpg');
  background-size: cover;
  background-position: center 30%;
}
.program-image-mobility::after { display: none; }

.program-image-coming {
  background-image:
    linear-gradient(160deg, rgba(92,74,58,0.2) 0%, rgba(30,28,25,0.95) 100%);
}
.program-image-coming::after {
  content: 'COMING\A SOON'; white-space: pre;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-serif); font-size: 52px; font-weight: 300;
  color: rgba(30, 28, 25, 0.25); letter-spacing: 0.06em; line-height: 1.2;
}

/* Image overlay bar at bottom of each image */
.program-image-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: linear-gradient(0deg, rgba(30,28,25,0.8) 0%, transparent 100%);
  z-index: 2;
}

.program-image-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* When a real image is supplied, the card image becomes a photo:
   .program-image-back { background-image: url('../images/prog-back.jpg'); }
   .program-image-back::after { display: none; }
   The overlay label will still render on top.                           */

/* ── Dark section text fixes ── */
.app-section p,
.app-section h2,
.app-title,
.app-body,
.app-feature,
.app-note { color: var(--charcoal); }
.app-title { color: var(--dark) !important; }
.exclusive-section p,
.exclusive-section h2,
.exclusive-big-text,
.exclusive-include-item,
.exclusive-note { color: var(--charcoal); }
