/* ========== HERO ========== */
.course-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/hero/IMG_2876.webp'); 
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}

.course-page {
  padding-top: 0;
  margin-top: 0;
}

.course-hero.piercing-bg {
  background-image: url('../images/hero/IMG_3183.webp');
}

.course-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

.course-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem;
  max-width: 800px;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.course-hero-content .badge {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.course-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.course-hero-content p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ========== FOCUS SECTION ========== */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.focus-text h2 {
  font-size: 2.5rem;
}

.focus-text p {
  line-height: 1.7;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.focus-image {
  border-radius: 20px;
  overflow: hidden;
  padding: 0.5rem;
  max-height: 520px;
  width: fit-content;
  justify-self: center;
}

.focus-image img {
  display: block;
  width: auto;
  height: auto;
  max-height: 500px;
  max-width: 100%;
  border-radius: 16px;
}

/* Piercing about-image (used in piercing course) */
.course-focus .about-image {
  border-radius: 20px;
  overflow: hidden;
  padding: 0.5rem;
  max-height: 450px;
}

.course-focus .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  max-height: 430px;
}

.piercing-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.zone-tag {
  padding: 0.5rem 1.2rem;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid var(--primary-green);
  color: var(--primary-green);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.zone-tag.zone-cyan {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

/* Focus highlights row */
.focus-highlights {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.focus-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.highlight-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-cyan), var(--primary-green));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}

/* ========== MODULE GRID ========== */
.breakdown-header {
  text-align: center;
  margin-bottom: 3rem;
}

.breakdown-header h2 {
  font-size: 2.5rem;
}

.modules-grid,
.modules-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.module-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 4px solid var(--primary-cyan);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-card:hover {
  transform: translateX(8px);
  box-shadow: -4px 0 20px rgba(0, 240, 255, 0.1);
}

.course-page:has(.piercing-bg) .module-card {
  border-left-color: var(--primary-green);
}
.course-page:has(.piercing-bg) .module-card:hover {
  box-shadow: -4px 0 20px rgba(0, 255, 102, 0.1);
}

.piercing-course .module-card {
  border-left-color: var(--primary-green);
}

.module-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.module-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.3;
}

.module-title h3 {
  margin: 0;
  font-size: 1.4rem;
}

.module-card p {
  color: var(--text-muted);
  margin-left: 3.5rem;
  line-height: 1.6;
}

/* ========== WORKSHOPS ========== */
.workshops-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.workshop-tag {
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 30px;
  transition: transform 0.3s ease;
}

.workshop-tag:hover {
  transform: scale(1.05);
}

.workshop-tag.highlight-cyan {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.workshop-tag.highlight-green {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

/* Workshops two-column layout */
.workshops-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.workshop-col {
  padding: 2rem;
}

.workshop-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-cyan);
}

/* ========== INCLUDES GRID ========== */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.include-item {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.include-item:hover {
  transform: translateY(-5px);
}

.include-item h4 {
  font-size: 1.2rem;
}

/* ========== KIT ========== */
.kit-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.kit-info h2 {
  font-size: 2.5rem;
}

.kit-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 2rem;
}

.kit-item {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.kit-item:hover {
  border-color: var(--primary-cyan);
  color: var(--text-main);
}

/* ========== PRICING PLANS ========== */
.plans-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.plan-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
  flex: 1 1 280px;
  max-width: 320px;
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-card.featured {
  border: 1px solid var(--primary-cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.plan-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  width: fit-content;
  margin-bottom: 1rem;
}

.plan-badge.featured-badge {
  background: rgba(0, 240, 255, 0.15);
  color: var(--primary-cyan);
}

.plan-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--primary-cyan), var(--primary-green));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-card .check-list {
  flex-grow: 1;
}

/* ========== DURATION ========== */
.duration-card {
  padding: 3rem;
  text-align: center;
}

.duration-card h2 {
  margin-bottom: 2rem;
}

.duration-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.duration-stat h3 {
  font-size: 3rem;
  margin-bottom: 0.3rem;
}

.duration-divider {
  width: 1px;
  height: 60px;
  background: var(--glass-border);
}

/* ========== CTA (shared) ========== */
.cta-section {
  padding-bottom: 3rem;
}

.cta-card {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-card p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ========== RESEÑAS / REVIEWS ========== */
.reviews-section, .graduates-section {
  padding-top: 2rem;
}

.reviews-header, .graduates-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-header h2, .graduates-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.4);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-stars {
  color: #ffc107;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--primary-green);
  background: rgba(0, 255, 102, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 102, 0.2);
}

.review-text {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.6;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-info h5 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-link {
  font-size: 0.8rem;
  color: var(--primary-cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.review-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ========== GALERÍA EGRESADOS ========== */
.graduates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.graduate-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.graduate-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.graduate-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.graduate-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 600;
}


/* ========== ANIMATION ========== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .module-card p { margin-left: 0; margin-top: 1rem; }
  .kit-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .duration-stats { gap: 1.5rem; }
  .duration-divider { display: none; }
  .course-hero-content h1 { font-size: 2.2rem; }
  .plans-grid { flex-direction: column; align-items: center; }
  .workshops-columns { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  .focus-highlights { flex-wrap: wrap; justify-content: center; }
}
