/* Hereda landing.css + extras de página curso */

.curso-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: white;
  padding: 64px 32px 100px;
  position: relative;
  overflow: hidden;
}
.curso-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,122,26,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.curso-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.breadcrumb { color: rgba(255,255,255,0.55); font-size: 14px; margin-bottom: 24px; }
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--orange); }
.curso-hero h1 {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 18px;
}
.curso-hero p.subtitle {
  font-size: 19px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.55;
}
.curso-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.curso-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}
.curso-tag.tag-orange {
  background: rgba(255,122,26,0.15);
  border-color: rgba(255,122,26,0.3);
  color: var(--orange);
}

.curso-buy {
  background: white;
  color: var(--ink);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  position: sticky;
  top: 100px;
}
.curso-buy-img {
  margin: -32px -32px 24px;
  height: 200px;
  background: var(--navy);
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}
.curso-buy-img img { width: 100%; height: 100%; object-fit: cover; }
.curso-buy-precio { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.curso-buy-precio .currency { font-size: 22px; color: var(--navy); font-weight: 600; }
.curso-buy-precio .num { font-size: 52px; color: var(--navy); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.curso-buy-cop { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.curso-buy-cop strong { color: var(--ink); }
.curso-buy ul.includes { list-style: none; margin: 24px 0; padding: 0; }
.curso-buy ul.includes li { padding: 10px 0; color: var(--ink); font-size: 14px; display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid var(--line); }
.curso-buy ul.includes li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }
.curso-buy ul.includes li:first-child { border-top: 0; }
.curso-buy-cta { width: 100%; margin-top: 8px; }
.curso-buy-bundle-hint {
  background: var(--orange-soft);
  border: 1px solid rgba(255,122,26,0.25);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--navy);
}
.curso-buy-bundle-hint a { color: var(--orange); font-weight: 700; }

/* Lo que aprenderás */
.aprenderas { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; margin-top: 16px; }
.aprender-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; }
.aprender-item::before { content: '✓'; color: var(--orange); font-weight: 800; font-size: 18px; flex-shrink: 0; line-height: 1.4; }
.aprender-item span { color: var(--ink); font-size: 16px; line-height: 1.5; }

/* Módulos accordion */
.modulos { max-width: 880px; margin: 32px auto 0; }
.modulo {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .2s;
}
.modulo:hover { border-color: var(--orange); box-shadow: 0 8px 30px rgba(10,25,41,0.06); }
.modulo-header {
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 20px;
}
.modulo-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-radius: 10px;
  display: grid; place-items: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
}
.modulo-title {
  flex: 1;
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.35;
}
.modulo-duracion { color: var(--muted); font-size: 13px; }
.modulo-toggle { color: var(--orange); font-size: 24px; font-weight: 400; transition: transform .2s; }
.modulo.open .modulo-toggle { transform: rotate(45deg); }
.modulo-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 28px;
  border-top: 1px solid transparent;
}
.modulo.open .modulo-body { max-height: 600px; padding: 24px 28px; border-top-color: var(--line); }
.modulo-body ul { list-style: none; padding: 0; }
.modulo-body li { padding: 8px 0; color: var(--ink); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.modulo-body li::before { content: '▸'; color: var(--orange); flex-shrink: 0; }

/* Garantía */
.garantia {
  background: white;
  border: 2px solid var(--orange);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}
.garantia-icon {
  width: 80px; height: 80px;
  background: var(--orange-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 36px;
  flex-shrink: 0;
}
.garantia h3 { color: var(--navy); font-size: 22px; margin-bottom: 6px; }
.garantia p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Instructor */
.instructor-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}
.instructor-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy);
}
.instructor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.instructor-info h3 { color: var(--navy); font-size: 24px; margin-bottom: 4px; font-weight: 700; }
.instructor-info .role { color: var(--orange); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.instructor-info p { color: var(--muted); font-size: 15px; line-height: 1.6; }

@media (max-width: 980px) {
  .curso-hero-inner { grid-template-columns: 1fr; }
  .curso-hero h1 { font-size: 36px; }
  .curso-buy { position: static; margin-top: 32px; }
  .aprenderas { grid-template-columns: 1fr; }
  .instructor-card { grid-template-columns: 1fr; text-align: center; }
  .instructor-avatar { margin: 0 auto; }
  .garantia { flex-direction: column; text-align: center; }
}
