/* ============================================
   COHLI COHORT PAGE STYLES
   Styles specific to cohort pages
   (casa-sumapaz.html, craveiral.html, etc.)
   ============================================ */

/* === COHORT HERO === */
.cohort-hero {
  min-height: 80vh; display: flex; align-items: flex-end;
  position: relative; padding: 0 24px 48px; margin-top: 72px;
}
.cohort-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #8fa682 0%, #7a9b6e 30%, #5a7a4e 60%, #3d5c32 100%);
  opacity: .12;
}
.cohort-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(42,42,42,.7) 0%, rgba(42,42,42,.1) 50%, transparent 100%);
}
.cohort-hero-content {
  position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; width: 100%; color: white;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  font-size: .8rem; font-weight: 500; margin-bottom: 16px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.cohort-hero h1 {
  font-family: var(--font-headline); font-size: 3.2rem; font-weight: 900; line-height: 1.15; margin-bottom: 12px;
}
.hero-location { font-size: 1.1rem; opacity: .8; margin-bottom: 24px; }
.hero-quick { display: flex; gap: 24px; flex-wrap: wrap; font-size: .9rem; opacity: .9; }
.hero-quick-item {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 20px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(6px);
}

/* === STICKY APPLY BAR === */
.sticky-bar {
  position: sticky; top: 72px; z-index: 999;
  background: white; border-bottom: 1px solid var(--clay); padding: 12px 24px;
}
.sticky-bar-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.sticky-info { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.sticky-info span { font-size: .85rem; color: var(--stone); }
.sticky-info strong { color: var(--dark); }
.sticky-cta {
  background: var(--ember); color: white; padding: 10px 28px; border-radius: 24px;
  font-weight: 600; font-size: .9rem; text-decoration: none;
  transition: var(--ease); border: none; cursor: pointer;
}
.sticky-cta:hover { background: var(--terracotta); }

/* === PERSONAL LETTER === */
.letter-section { background: white; border-bottom: 1px solid var(--clay); }
.letter-inner {
  max-width: 780px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start;
}
.letter-photo-col { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 4px; }
.letter-photo {
  width: 100px; height: 100px; border-radius: 50%; flex-shrink: 0;
  border: 3px solid var(--terracotta); overflow: hidden; position: relative;
}
.letter-names {
  font-family: var(--font-headline); font-size: .85rem; font-weight: 700;
  color: var(--terracotta); text-align: center;
}
.letter-body h3 {
  font-family: var(--font-headline); font-size: 1.5rem; font-weight: 900;
  color: var(--dark); margin-bottom: 16px; line-height: 1.3;
}
.letter-body p { font-size: 1rem; color: var(--dark); margin-bottom: 14px; line-height: 1.8; }
.letter-body p:last-of-type { margin-bottom: 0; }
.letter-sig {
  font-family: var(--font-quote); font-size: 1.15rem; font-style: italic;
  color: var(--terracotta); margin-top: 20px; margin-bottom: 0;
}
.letter-context {
  font-size: .85rem !important; color: var(--stone) !important;
  padding-top: 12px; border-top: 1px solid var(--clay); margin-top: 20px !important;
}

/* === QUICK FACTS === */
.facts-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; margin: 24px 0;
}
.fact-card {
  background: white; border-radius: var(--radius-sm); padding: 20px; text-align: center;
  border: 1px solid var(--clay);
}
.fact-icon { font-size: 1.6rem; margin-bottom: 8px; }
.fact-value { font-family: var(--font-headline); font-size: 1.3rem; font-weight: 700; color: var(--terracotta); }
.fact-label { font-size: .8rem; color: var(--stone); margin-top: 2px; }

/* === PHOTO GALLERY === */
.gallery {
  display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: 200px 200px;
  gap: 8px; border-radius: var(--radius-md); overflow: hidden; margin: 24px 0;
}
.gallery-item { min-height: 200px; }
.gallery-item:first-child { grid-column: 1/3; grid-row: 1/3; min-height: 408px; }

/* === INCLUDED GRID === */
.included-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.included-card {
  padding: 24px; background: white; border-radius: var(--radius-sm);
  border: 1px solid var(--clay); display: flex; gap: 16px;
}
.included-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.included-icon.live { background: rgba(167,180,156,.2); }
.included-icon.eat { background: rgba(244,171,109,.2); }
.included-icon.grow { background: rgba(159,177,193,.2); }
.included-icon.extra { background: rgba(210,169,96,.2); }
.included-card h4 { font-size: .95rem; margin-bottom: 4px; }
.included-card p { font-size: .85rem; color: var(--stone); }

/* === DAILY RHYTHM TIMELINE === */
.day-timeline { max-width: 700px; margin: 0 auto; }
.day-block { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--clay); }
.day-block:last-child { border-bottom: none; }
.day-time { min-width: 70px; font-size: .8rem; font-weight: 700; color: var(--terracotta); padding-top: 2px; }
.day-content h4 { font-size: .95rem; margin-bottom: 2px; }
.day-content p { font-size: .85rem; color: var(--stone); }

/* === PRICING === */
.pricing-section { background: white; }
.pricing-box {
  max-width: 700px; margin: 0 auto;
  background: var(--alabaster); border-radius: var(--radius-md); padding: 36px;
  border: 1px solid var(--clay);
}
.pricing-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 20px; border-bottom: 1px solid var(--clay); flex-wrap: wrap; gap: 12px;
}
.pricing-total { font-family: var(--font-headline); font-size: 2.2rem; font-weight: 900; color: var(--terracotta); }
.pricing-unit { font-size: .9rem; color: var(--stone); }
.pricing-lines { margin: 24px 0; }
.pricing-line {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid rgba(201,191,174,.3); font-size: .92rem;
}
.pricing-line .label { color: var(--stone); }
.pricing-line .value { font-weight: 600; }
.pricing-line.included .value { color: var(--sage); }
.pricing-note {
  background: rgba(167,180,156,.1); border-radius: 8px; padding: 16px;
  font-size: .85rem; color: var(--stone); margin-top: 20px;
}
.pricing-note strong { color: var(--dark); }
.payment-timeline { margin: 32px 0; }
.payment-step { display: flex; gap: 16px; align-items: start; margin-bottom: 16px; }
.payment-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ember); margin-top: 6px; flex-shrink: 0; }
.payment-step .when { font-weight: 600; font-size: .9rem; }
.payment-step .what { font-size: .85rem; color: var(--stone); }

/* === COHORT TESTIMONIALS === */
.testimonial-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.test-card { padding: 28px; border-radius: var(--radius-md); background: white; border: 1px solid var(--clay); }
.test-text {
  font-family: var(--font-quote); font-size: 1.1rem; font-style: italic;
  color: var(--dark); margin-bottom: 16px; line-height: 1.7;
}
.test-author { font-size: .85rem; font-weight: 600; }
.test-detail { font-size: .8rem; color: var(--stone); }

/* === MAP === */
.map-placeholder {
  height: 300px; border-radius: var(--radius-md); background: var(--clay);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.map-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(167,180,156,.15) 0%, rgba(159,177,193,.1) 100%);
}

/* === HOSTS === */
.host-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.host-photo { width: 120px; height: 120px; border-radius: 50%; margin-bottom: 16px; }
.host-card { text-align: center; padding: 32px; background: white; border-radius: var(--radius-md); border: 1px solid var(--clay); }
.host-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.host-card .role { font-size: .85rem; color: var(--terracotta); font-weight: 500; margin-bottom: 8px; }
.host-card p { font-size: .88rem; color: var(--stone); }

/* === PACKING TIPS === */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 12px; }
.pack-item {
  display: flex; align-items: start; gap: 10px; padding: 14px 16px;
  background: white; border-radius: 10px; border: 1px solid var(--clay); font-size: .85rem;
}
.pack-icon { flex-shrink: 0; font-size: 1.1rem; }

/* === APPLY CTA === */
.apply-section { background: var(--terracotta); padding: 72px 24px; text-align: center; color: white; }
.apply-section h2 { font-family: var(--font-headline); font-size: 2.2rem; font-weight: 900; margin-bottom: 12px; }
.apply-section p { font-size: 1.05rem; opacity: .85; max-width: 480px; margin: 0 auto 28px; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .cohort-hero h1 { font-size: 2.2rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: 1/3; min-height: 250px; }
  .testimonial-pair { grid-template-columns: 1fr; }
  .pricing-total { font-size: 1.8rem; }
  .sticky-bar-inner { justify-content: center; text-align: center; }
  .host-grid { grid-template-columns: 1fr; }
  .letter-inner { grid-template-columns: 1fr; text-align: center; }
  .letter-photo-col { flex-direction: row; justify-content: center; gap: 16px; }
  .letter-body { text-align: left; }
}
@media (max-width: 600px) {
  .cohort-hero h1 { font-size: 1.8rem; }
  .hero-quick { gap: 8px; }
  .facts-grid { grid-template-columns: repeat(2,1fr); }
  .included-grid { grid-template-columns: 1fr; }
}
