/* =============================================
   SHE BY SHERLEY — Program Pages
   Shared styles for all 3 program pages.
   In Lovable this becomes a reusable <ProgramLayout> component.
   ============================================= */

/* ── PROGRAM HERO ── */
.prog-hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  overflow: hidden;
}
.prog-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
}
.prog-hero-right {
  position: relative;
  overflow: hidden;
}
.prog-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.prog-hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Each page sets its own gradient via inline <style> to match its hero bg exactly */
  background: linear-gradient(to right, transparent 0%, transparent 100%);
}
.prog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.prog-back:hover { color: var(--brown); }
.prog-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(74,46,43,0.07);
  border: 1px solid rgba(74,46,43,0.12);
  padding: 8px 16px;
  border-radius: 24px;
  margin-bottom: 24px;
}
.prog-badge-icon { font-size: 1.1rem; }
.prog-badge-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brown);
}
.prog-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.prog-hero-title em { font-style: italic; font-weight: 400; }
.prog-hero-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--brown-light);
  max-width: 460px;
  margin-bottom: 36px;
}
.prog-hero-meta {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.prog-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.prog-meta-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--brown);
  line-height: 1;
}
.prog-meta-key {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.prog-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.prog-price-note {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
}
.prog-price-note strong {
  font-weight: 600;
  color: var(--brown);
  font-size: 1rem;
}

/* ── PROGRAM VIDEO ── */
.prog-video-section {
  padding: 80px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.prog-video-wrap {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 60px rgba(74,46,43,0.14);
  background: var(--brown);
  aspect-ratio: 16/9;
}
.prog-video-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.35s;
  z-index: 2;
}
.prog-video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a2220 0%, var(--brown) 60%, #5a3e3a 100%);
  opacity: 0.85;
}
.prog-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.prog-play-btn {
  position: relative;
  z-index: 2;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--rose);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.prog-play-btn:hover { transform: scale(1.1); background: var(--ivory); }
.prog-play-btn span { color: var(--brown); font-size: 1.3rem; margin-left: 4px; }
.prog-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: #000;
  object-fit: cover;
  z-index: 1;
}
.prog-video-text .section-tag { margin-bottom: 16px; }
.prog-video-text h2 { margin-bottom: 18px; }
.prog-video-text p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--brown-light);
  margin-bottom: 14px;
}

/* ── FOR WHO ── */
.prog-forwho {
  padding: 80px;
  text-align: center;
}
.prog-forwho-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 50px auto 0;
  text-align: left;
}
.forwho-card {
  border: 1px solid rgba(74,46,43,0.1);
  border-radius: 4px;
  padding: 32px 28px;
  background: var(--ivory);
  transition: box-shadow 0.25s;
}
.forwho-card:hover { box-shadow: 0 8px 32px rgba(74,46,43,0.08); }
.forwho-icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.forwho-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 500;
  color: var(--brown); margin-bottom: 8px;
}
.forwho-desc {
  font-size: 0.82rem; font-weight: 300;
  line-height: 1.75; color: var(--brown-light);
}

/* ── CURRICULUM ── */
.prog-curriculum {
  padding: 80px;
}
.prog-curriculum-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}
.prog-curriculum-left p {
  font-size: 0.9rem; font-weight: 300;
  line-height: 1.9; color: var(--brown-light);
  margin: 16px 0 28px;
}
.prog-curriculum-left .section-tag { margin-bottom: 10px; }
.modules-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.module-item {
  background: rgba(248,246,244,0.6);
  border: 1px solid rgba(74,46,43,0.07);
  border-radius: 3px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.module-item:hover { background: var(--ivory); }
.module-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 500;
  color: rgba(74,46,43,0.2);
  line-height: 1;
}
.module-title {
  font-size: 0.88rem; font-weight: 500;
  color: var(--brown); display: block; margin-bottom: 3px;
}
.module-desc {
  font-size: 0.76rem; font-weight: 300;
  color: var(--text-muted);
}
.module-tag {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--sage);
  border: 1px solid rgba(163,177,138,0.4);
  padding: 3px 9px; border-radius: 20px;
  white-space: nowrap;
}

/* ── TESTIMONIALS (program specific) ── */
.prog-testimonials {
  padding: 80px;
  text-align: center;
}
.prog-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
  text-align: left;
}

/* ── PROGRAM FAQ ── */
.prog-faq {
  padding: 80px;
}
.prog-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.prog-faq-inner .section-tag,
.prog-faq-inner .section-title { text-align: center; justify-content: center; }
.prog-faq-inner .section-tag::before { display: none; }
.prog-faq-inner .section-title { margin-bottom: 40px; }

/* ── CTA FINAL ── */
.prog-cta {
  padding: 100px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.prog-cta .section-title { max-width: 600px; }
.prog-cta p {
  font-size: 0.92rem; font-weight: 300;
  color: var(--brown-light); line-height: 1.85;
  max-width: 500px;
}
.prog-cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.prog-guarantee {
  font-size: 0.72rem; font-weight: 300;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .prog-curriculum-inner { grid-template-columns: 1fr; gap: 40px; }
  .prog-forwho-grid { grid-template-columns: 1fr 1fr; }
  .prog-video-section { grid-template-columns: 1fr; gap: 40px; padding: 60px 48px; }
}
@media (max-width: 768px) {
  .prog-hero { grid-template-columns: 1fr; min-height: auto; }
  .prog-hero-left { padding: 100px 24px 48px; order: 2; }
  .prog-hero-right { height: 320px; order: 1; }
  .prog-hero-right::after { background: linear-gradient(to top, transparent 0%, transparent 100%); }
  .prog-video-section, .prog-forwho, .prog-curriculum, .prog-testimonials, .prog-faq, .prog-cta { padding: 60px 24px; }
  .prog-forwho-grid { grid-template-columns: 1fr; }
  .prog-testi-grid { grid-template-columns: 1fr; }
  .module-item { grid-template-columns: 32px 1fr; }
  .module-tag { display: none; }
}

/* Ghost button for CTA sections on light backgrounds */
.prog-cta-ghost {
  background: none;
  border: 1px solid rgba(74,46,43,0.3);
  color: var(--brown);
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; border-radius: 2px; transition: all 0.2s;
  text-decoration: none; display: inline-block;
}
.prog-cta-ghost:hover { border-color: var(--brown); color: var(--brown); opacity: 0.75; }

/* Movilidad has sage bg — override ghost to ivory */
.prog-cta-ghost-light {
  background: none;
  border: 1px solid rgba(248,246,244,0.5);
  color: var(--ivory);
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; border-radius: 2px; transition: all 0.2s;
  text-decoration: none; display: inline-block;
}
.prog-cta-ghost-light:hover { border-color: var(--ivory); opacity: 0.8; }
